From 868d74e06e74ab18c54ca88b6d82386133e88525 Mon Sep 17 00:00:00 2001 From: zbryikt Date: Wed, 28 Sep 2022 16:59:23 +0800 Subject: [PATCH] - add `set -e` to prevent from running when error. - bump version --- CHANGELOG.md | 5 +++++ deploy | 1 + package-lock.json | 2 +- package.json | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5a468a..70e6772 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Logs +## v0.0.3 + + - add `set -e` to prevent from running when error. + + ## v0.0.2 - add `branch` option diff --git a/deploy b/deploy index ceee3f7..2f7e738 100755 --- a/deploy +++ b/deploy @@ -1,4 +1,5 @@ #!/usr/bin/env bash +set -e if [[ -z "$2" ]]; then branch=gh-pages else diff --git a/package-lock.json b/package-lock.json index 2f68928..c945ba4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { "name": "@zbryikt/deploy", - "version": "0.0.2", + "version": "0.0.3", "lockfileVersion": 1 } diff --git a/package.json b/package.json index b4cc44c..fb00860 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "@zbryikt/deploy", "license": "MIT", "description": "deploy script for github gh-pages", - "version": "0.0.2", + "version": "0.0.3", "files": [ "deploy" ],