fix: replace tag if needed
This commit is contained in:
parent
4bb24ec921
commit
afe6c6f0b6
1
.github/workflows/release-publish.yml
vendored
1
.github/workflows/release-publish.yml
vendored
@ -28,6 +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"
|
||||||
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