Update release-publish.yml
This commit is contained in:
parent
9a75f4458c
commit
47b8960aff
2
.github/workflows/release-publish.yml
vendored
2
.github/workflows/release-publish.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
|||||||
|
|
||||||
# Uncomment for NPM publishing.
|
# Uncomment for NPM publishing.
|
||||||
VERSION="`cat lerna.json | grep '"version":' | awk '{ print $2 }' | sed 's/[",]//g' | cut -d'-' -f1`"
|
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
|
yarn lerna version $VERSION --no-git-tag-version -y
|
||||||
git commit -am "v$VERSION"
|
git commit -am "v$VERSION"
|
||||||
git push
|
git push
|
||||||
|
Loading…
Reference in New Issue
Block a user