From db65710db31f0f2bbb74af797ab8faecf14832ea Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Mon, 16 Nov 2020 17:25:05 -0600 Subject: [PATCH] fix: replace tag if needed --- .github/workflows/release-publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 069ac4c..b505048 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -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