aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-10-29 16:33:38 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-10-29 16:33:38 -0500
commit661e38a9ff0058fd06a6a4ae05f8407d5a74c679 (patch)
tree04456a5a31cae0bd54923ff3f319de727638253a /contrib
parentoops 2 (diff)
downloadlocusts-661e38a9ff0058fd06a6a4ae05f8407d5a74c679.tar
locusts-661e38a9ff0058fd06a6a4ae05f8407d5a74c679.tar.gz
locusts-661e38a9ff0058fd06a6a4ae05f8407d5a74c679.tar.bz2
locusts-661e38a9ff0058fd06a6a4ae05f8407d5a74c679.tar.lz
locusts-661e38a9ff0058fd06a6a4ae05f8407d5a74c679.tar.xz
locusts-661e38a9ff0058fd06a6a4ae05f8407d5a74c679.tar.zst
locusts-661e38a9ff0058fd06a6a4ae05f8407d5a74c679.zip
only run in working directory :)
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/version-bump2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/version-bump b/contrib/version-bump
index d398ce4..fff89c2 100644
--- a/contrib/version-bump
+++ b/contrib/version-bump
@@ -9,7 +9,7 @@ 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 | xargs sed -i "s/$OLD_TAG/$GIT_TAG/g"
+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"
# fiddle with autotools
AUTOTOOLS_TAG=${GIT_TAG//\./:}