diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-10-30 10:35:18 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-10-30 10:35:18 -0500 |
commit | 9c64d297b34161c58018a1557a5d4b2ed7adbc46 (patch) | |
tree | 5962ef32029786ed141f3c653df47411865caada /contrib/tag-repo | |
parent | make sure to tag repo when running changeset publish (diff) | |
download | locusts-9c64d297b34161c58018a1557a5d4b2ed7adbc46.tar locusts-9c64d297b34161c58018a1557a5d4b2ed7adbc46.tar.gz locusts-9c64d297b34161c58018a1557a5d4b2ed7adbc46.tar.bz2 locusts-9c64d297b34161c58018a1557a5d4b2ed7adbc46.tar.lz locusts-9c64d297b34161c58018a1557a5d4b2ed7adbc46.tar.xz locusts-9c64d297b34161c58018a1557a5d4b2ed7adbc46.tar.zst locusts-9c64d297b34161c58018a1557a5d4b2ed7adbc46.zip |
Oops
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'contrib/tag-repo')
-rwxr-xr-x | contrib/tag-repo | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/contrib/tag-repo b/contrib/tag-repo index 09ca6a9..fb0b930 100755 --- a/contrib/tag-repo +++ b/contrib/tag-repo @@ -5,19 +5,4 @@ if [ -z "$GIT_TAG" ]; then GIT_TAG=$(jq -r '.version' src/packages/locusts/package.json) 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" - -# fiddle with autotools -AUTOTOOLS_TAG=${GIT_TAG//\./:} -OLD_TAG=${OLD_TAG//\./:} - -sed -i "s/$GIT_TAG/$AUTOTOOLS_TAG/g" GNUmakefile.am - -# remove the snapshot from gradle -sed -i "s/-SNAPSHOT//g" gradle.properties - -# bump the main package.json too -jq ".version = \"$GIT_TAG\"" package.json | sponge package.json
\ No newline at end of file +git tag v"$GIT_TAG" |