diff options
Diffstat (limited to 'contrib/tag-repo')
-rwxr-xr-x | contrib/tag-repo | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/tag-repo b/contrib/tag-repo new file mode 100755 index 0000000..fb0b930 --- /dev/null +++ b/contrib/tag-repo @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +if [ -z "$GIT_TAG" ]; then + echo "GIT_TAG is not set, pulling from changeset" + GIT_TAG=$(jq -r '.version' src/packages/locusts/package.json) +fi + +git tag v"$GIT_TAG" |