Skip to content

Commit

Permalink
- fix bug: incorrect variable for branch
Browse files Browse the repository at this point in the history
 - bump version
  • Loading branch information
zbryikt committed Sep 29, 2022
1 parent 868d74e commit 18bf0d5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Logs

## v0.0.4

- fix bug: incorrect variable for branch


## v0.0.3

- add `set -e` to prevent from running when error.
Expand Down
2 changes: 1 addition & 1 deletion deploy
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [[ -d "$1" ]]; then
if [[ -d .git ]]; then
REV=`git describe --always`
rm -rf _public
git clone $(git remote get-url origin) --depth 1 -b $2 _public
git clone $(git remote get-url origin) --depth 1 -b $branch _public
cd _public
git rm -r *
cp -R ../$1/* ./
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "@zbryikt/deploy",
"license": "MIT",
"description": "deploy script for github gh-pages",
"version": "0.0.3",
"version": "0.0.4",
"files": [
"deploy"
],
Expand Down

0 comments on commit 18bf0d5

Please sign in to comment.