fix: replace tag if needed

This commit is contained in:
Thomas E Lackey 2020-11-16 17:25:45 -06:00
parent 4bb24ec921
commit afe6c6f0b6

View File

@ -28,6 +28,7 @@ jobs:
# Uncomment for NPM publishing.
VERSION="`cat lerna.json | grep '"version":' | awk '{ print $2 }' | sed 's/[",]//g' | cut -d'-' -f1`"
git push --delete origin "v$VERSION"
yarn lerna version $VERSION --no-git-tag-version -y
git commit -am "v$VERSION"
git push