aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdeploy.sh5
-rw-r--r--package-lock.json2
-rw-r--r--package.json2
3 files changed, 6 insertions, 3 deletions
diff --git a/deploy.sh b/deploy.sh
index 40a8154..2aa723e 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -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
diff --git a/package-lock.json b/package-lock.json
index ef2ae7e..107e23d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "hoverbit-ble-controller",
- "version": "1.0.8-alpha.2",
+ "version": "1.0.8-alpha.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 127d778..aef87b2 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "hoverbit-ble-controller",
- "version": "1.0.8-alpha.2",
+ "version": "1.0.8-alpha.3",
"description": "",
"license": "MIT",
"scripts": {