diff options
author | Jakob Stendahl <jakobste@uio.no> | 2021-02-10 08:30:32 +0100 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2021-02-10 08:30:41 +0100 |
commit | 46e6f4b71f052de50f3be1db76fcdc9dfb25ab38 (patch) | |
tree | cec0147014a5203072a7a2f338bc09f6b8db00e1 /deploy.sh | |
parent | 4cbe7823ce448f9262cb1361f6b835a5c37ce981 (diff) | |
download | hoverbit-ble-46e6f4b71f052de50f3be1db76fcdc9dfb25ab38.tar.gz hoverbit-ble-46e6f4b71f052de50f3be1db76fcdc9dfb25ab38.zip |
:bookmark: Add version to last commit
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -23,7 +23,10 @@ VERSION=$(cat package.json \ | awk -F: '{ print $2 }' \ | sed 's/[",]//g' \ | tr -d '[[:space:]]') + echo "Deploying for tag: $VERSION." +git add package.json package-lock.json +git commit --amend --no-edit tput setaf 4 echo "> Build app" @@ -55,6 +58,6 @@ git checkout controller git tag "v$VERSION" -#git push --follow-tags origin controller +git push -f origin controller git push origin "v$VERSION" git push origin gh-pages |