From 661e38a9ff0058fd06a6a4ae05f8407d5a74c679 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 29 Oct 2024 16:33:38 -0500 Subject: only run in working directory :) Signed-off-by: Matt Strapp --- contrib/version-bump | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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//\./:} -- cgit v1.2.3