Skip to content

Commit 4a0530e

Browse files
committed
Update ci script
1 parent 318cff9 commit 4a0530e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ci/git-release.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ if [ `git branch | grep tmp-release` ]; then
1010
fi
1111
git checkout -b tmp-release
1212

13-
npm install
14-
npm run build
13+
npm install && npm run build
1514
git add -f lib/
1615
git commit -m "Release v$CURRENT_VERSION"
1716
git tag "v$CURRENT_VERSION"

ci/npm-release.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#! bin/bash
22
set -e -u
33

4-
npm run prepare
5-
npm publish
4+
npm install && npm run build && npm publish

0 commit comments

Comments
 (0)