Skip to content

Commit

Permalink
chore: minor cleanup, organize
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Oct 23, 2019
1 parent 3ab3ac9 commit 7934eab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions please
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ error() { line "$1" 31 0 $2; }
ok() { line "${1:- Done}" 32 0 $2; }
info() { line "$1" 33 0 $2; }
comment() { line "$1" 30 1 $2; }
# info 1

qgit() { git "$@" &>> $TMP_LOG; }

# github api
Expand Down Expand Up @@ -181,6 +181,7 @@ publish-npm()
echo $PKG | jq ".version = \"$NEXT_VERSION\"" > ./package.json
qgit add ./package.json && GPUSH=1
info "Publishing npm ..."
if [ "true" == "$PVT" ]; then
info " package marked private"
return 0
Expand All @@ -191,7 +192,6 @@ publish-npm()
fi
trigger before-npm
info "Publishing npm ..."
npm publish $PUBLIC &>> $TMP_LOG
ok
}
Expand Down

0 comments on commit 7934eab

Please sign in to comment.