aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorJakob Stendahl <jakobste@uio.no>2021-02-10 08:13:12 +0100
committerJakob Stendahl <jakobste@uio.no>2021-02-10 08:13:12 +0100
commit4cbe7823ce448f9262cb1361f6b835a5c37ce981 (patch)
treee5b2452cffef9dafd22a7a011fca7df0627a45f7 /deploy.sh
parent7f06a457857281632bd26af854609fe4812e2973 (diff)
downloadhoverbit-ble-4cbe7823ce448f9262cb1361f6b835a5c37ce981.tar.gz
hoverbit-ble-4cbe7823ce448f9262cb1361f6b835a5c37ce981.zip
:hammer: Attempt to fix #6
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh9
1 files 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