aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/version-bump
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-10-31 08:36:13 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-10-31 08:36:13 -0500
commit52b934f55864e81fa962c4e7c8721820e6fe868d (patch)
tree574acfb4b6aff16488dbdfc90fc107e827111bc0 /contrib/version-bump
parentci: Only run on version tag and use official action (diff)
downloadlocusts-52b934f55864e81fa962c4e7c8721820e6fe868d.tar
locusts-52b934f55864e81fa962c4e7c8721820e6fe868d.tar.gz
locusts-52b934f55864e81fa962c4e7c8721820e6fe868d.tar.bz2
locusts-52b934f55864e81fa962c4e7c8721820e6fe868d.tar.lz
locusts-52b934f55864e81fa962c4e7c8721820e6fe868d.tar.xz
locusts-52b934f55864e81fa962c4e7c8721820e6fe868d.tar.zst
locusts-52b934f55864e81fa962c4e7c8721820e6fe868d.zip
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 <matt@mattstrapp.net>
Diffstat (limited to 'contrib/version-bump')
-rwxr-xr-xcontrib/version-bump5
1 files changed, 1 insertions, 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//\./:}