aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2021-06-07 22:53:06 +0200
committerJakob Stendahl <jakob.stendahl@outlook.com>2021-06-07 22:53:59 +0200
commitb050a73c37ee229b7639dfd2364367dc22dac721 (patch)
treec75f25e60cfe7886cbe7dd9acea402a94583ead8 /deploy.sh
parentc0ccef87cd66e9de15e67b06f57a23228143bb63 (diff)
downloadhoverbit-ble-b050a73c37ee229b7639dfd2364367dc22dac721.tar.gz
hoverbit-ble-b050a73c37ee229b7639dfd2364367dc22dac721.zip
:hammer: Move version commit step
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/deploy.sh b/deploy.sh
index c2bfdb4..c5be4d6 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -24,10 +24,6 @@ VERSION=$(cat package.json \
| 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"
tput sgr0
@@ -37,6 +33,12 @@ npm install
npm run build
tput setaf 4
+echo "Deploying for tag: $VERSION."
+tput sgr0
+git add package.json package-lock.json
+git commit --amend --no-edit
+
+tput setaf 4
echo "> Copy to gh-pages branch and commit"
tput sgr0