diff options
author | Jakob Stendahl <jakobste@uio.no> | 2021-02-10 08:13:12 +0100 |
---|---|---|
committer | Jakob Stendahl <jakobste@uio.no> | 2021-02-10 08:13:12 +0100 |
commit | 4cbe7823ce448f9262cb1361f6b835a5c37ce981 (patch) | |
tree | e5b2452cffef9dafd22a7a011fca7df0627a45f7 | |
parent | 7f06a457857281632bd26af854609fe4812e2973 (diff) | |
download | hoverbit-ble-4cbe7823ce448f9262cb1361f6b835a5c37ce981.tar.gz hoverbit-ble-4cbe7823ce448f9262cb1361f6b835a5c37ce981.zip |
:hammer: Attempt to fix #6
-rwxr-xr-x | deploy.sh | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |