From 52b934f55864e81fa962c4e7c8721820e6fe868d Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Thu, 31 Oct 2024 08:36:13 -0500 Subject: ci: Alter version bump to only ignore pnpm lockfile, not rest Allows to get rid of a special case and allows the rust program to compile when the lockfile is not allowed to be changed Signed-off-by: Matt Strapp --- contrib/version-bump | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/contrib/version-bump b/contrib/version-bump index 8df556d..3b4eac1 100755 --- a/contrib/version-bump +++ b/contrib/version-bump @@ -8,10 +8,7 @@ fi OLD_TAG=$(jq -r '.version' package.json) echo "Bumping version from $OLD_TAG to $GIT_TAG" -rg "$OLD_TAG" --files-with-matches --iglob \!\*lock\* --iglob \!go.mod --iglob \!deno.json --iglob \!package.json --iglob \!\*.md "$(pwd)" | xargs sed -i "s/$OLD_TAG/$GIT_TAG/g" - -# Bump the ruby lockfile too -sed -i "s/$OLD_TAG/$GIT_TAG/g" Gemfile.lock +rg "$OLD_TAG" --files-with-matches --iglob \!pnpm-lock.yaml --iglob \!go.mod --iglob \!deno.json --iglob \!package.json --iglob \!\*.md "$(pwd)" | xargs sed -i "s/$OLD_TAG/$GIT_TAG/g" # fiddle with autotools AUTOTOOLS_TAG=${GIT_TAG//\./:} -- cgit v1.2.3