From 048ddbf3af744fd2e0ddcbde7bc1574092600ca3 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 29 Oct 2024 16:19:33 -0500 Subject: make shellcheck happy Signed-off-by: Matt Strapp --- contrib/version-bump | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'contrib/version-bump') diff --git a/contrib/version-bump b/contrib/version-bump index 925fa17..c3f12bb 100644 --- a/contrib/version-bump +++ b/contrib/version-bump @@ -7,13 +7,10 @@ fi OLD_TAG=$(jq -r '.version' package.json) -rg "$OLD_TAG" --files-with-matches --iglob \!\*lock\* --iglob \!go.mod --iglob \!deno.json --iglob \!package.json | 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 | xargs sed -i "s/$OLD_TAG/$GIT_TAG/g" -# fiddlge with autotools - -AUTOTOOLS_TAG=$(echo $GIT_TAG | sed 's/\./:/g') -OLD_TAG=$(echo $OLD_TAG | sed 's/\./:/g') - -echo $GIT_TAG +# fiddle with autotools +AUTOTOOLS_TAG=${GIT_TAG//\./:} +OLD_TAG=${OLD_TAG//\./:} sed -i "s/$GIT_TAG/$AUTOTOOLS_TAG/g" GNUmakefile.am \ No newline at end of file -- cgit v1.2.3