aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/version-bump
blob: fb0b930998cda121e67a6dadb151d2913cf9579e (plain) (blame)
1
2
3
4
5
6
7
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"