Skip to content

Commit

Permalink
build: update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jul 13, 2017
1 parent a7615ef commit 8303782
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
echo "Releasing $VERSION ..."

npm run lint
npm run flow
npm run test:cover
npm run test:e2e
npm run test:ssr
if [[ -z $SKIP_TESTS ]]; then
npm run lint
npm run flow
npm run test:cover
npm run test:e2e
npm run test:ssr
fi

if [[ -z $SKIP_SAUCE ]]; then
export SAUCE_BUILD_ID=$VERSION:`date +"%s"`
Expand Down

0 comments on commit 8303782

Please sign in to comment.