Skip to content

Commit 8077ac0

Browse files
committed
fix(ci): use grep in release baseline tag gate
Replace rg with grep so the gate works on GitHub-hosted runners where ripgrep is not guaranteed. Made-with: Cursor
1 parent d8dbc75 commit 8077ac0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
manifest_version="$(jq -r '.["."]' .release-please-manifest.json)"
4242
tag="v${manifest_version}"
4343
44-
if ! git ls-remote --tags "https://github.com/${GITHUB_REPOSITORY}.git" "refs/tags/${tag}" | rg -q .; then
44+
if ! git ls-remote --tags "https://github.com/${GITHUB_REPOSITORY}.git" "refs/tags/${tag}" | grep -q .; then
4545
echo "skip=true" >> "$GITHUB_OUTPUT"
4646
echo "Release baseline tag ${tag} is missing; skipping PR generation to avoid changelog backfill."
4747
exit 0

0 commit comments

Comments
 (0)