From 4cbe7823ce448f9262cb1361f6b835a5c37ce981 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Wed, 10 Feb 2021 08:13:12 +0100 Subject: :hammer: Attempt to fix #6 --- deploy.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index dc017dd..40a8154 100755 --- a/deploy.sh +++ b/deploy.sh @@ -12,9 +12,9 @@ echo "> Bump version number" tput sgr0 if [ $# -gt 0 ]; then - npm version "$1" || exit 1; + npm --no-git-tag-version version "$1" || exit 1; else - npm version patch || exit 1; + npm --no-git-tag-version version patch || exit 1; fi VERSION=$(cat package.json \ @@ -53,5 +53,8 @@ tput sgr0 git checkout controller -git push --follow-tags origin controller +git tag "v$VERSION" + +#git push --follow-tags origin controller +git push origin "v$VERSION" git push origin gh-pages -- cgit v1.2.3