fix: replace tag if needed

This commit is contained in:
Thomas E Lackey 2020-11-16 17:25:05 -06:00
parent a5d5993834
commit db65710db3

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