Update release-publish.yml

This commit is contained in:
Thomas E Lackey 2020-11-16 17:36:27 -06:00 committed by GitHub
parent 9a75f4458c
commit 47b8960aff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +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"
git push --delete origin "v$VERSION" || true
yarn lerna version $VERSION --no-git-tag-version -y
git commit -am "v$VERSION"
git push