Commit 89a46d1
committed
fix(audit): use portable grep instead of ripgrep for CI portability
The v0.3.0 tag-push CI run failed on the tag-only 'audit.sh release' step with 'CHANGELOG missing v0.3.0 section' even though the section was present. Root cause: audit.sh used rg (ripgrep) for the CHANGELOG check and 5 other checks, but the GitHub ubuntu-latest runner does not ship rg on PATH; errors were masked by 2>/dev/null, so the release gate failed while audit.sh all's rg-based checks silently false-passed in CI.
Replace all 6 rg calls with portable grep: grep -qF for fixed-string single-file checks (closeout), grep -rq for the two recursive runtime scans, and grep -q for the CHANGELOG regex. Matches the README POSIX-grep portability contract. Confirmed locally by shadowing rg with a not-found stub: release now passes and all passes end-to-end.1 parent 8e29009 commit 89a46d1
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
0 commit comments