Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c565c73

Browse files
committed
Echo npm-1.2.3 on build.
1 parent 7a911dd commit c565c73

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build-js.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,8 @@ pushd example/ts >/dev/null
1515
npm install
1616
npm run test
1717
popd >/dev/null
18+
19+
echo TRAVIS_TAG=$TRAVIS_TAG
20+
if [[ $TRAVIS_TAG =~ ^npm-v[0-9]+\.[0-9]+\.[0-9]+(-.*)?$ ]] ; then
21+
echo $TRAVIS_TAG is deployable
22+
fi

0 commit comments

Comments
 (0)