Skip to content

Commit ba02a67

Browse files
committed
build( travis ): Release commands updated
1 parent 17ec06b commit ba02a67

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.travis.yml

+1-12
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,13 @@ notifications:
99
email: false
1010
before_install:
1111
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
12-
before_script:
13-
- export DISPLAY=:99.0
14-
- sh -e /etc/init.d/xvfb start
15-
- sleep 3
16-
- git remote rm origin
17-
- git remote add origin https://${GH_TOKEN}@github.com/lokesh-coder/pretty-checkbox.git
18-
- 'if [ ${TRAVIS_PULL_REQUEST} = "false" ]; then
19-
git fetch && git checkout master;
20-
git config push.default current;
21-
fi'
2212
after_success:
2313
- 'if [ ${TRAVIS_PULL_REQUEST} = "false" ]; then
2414
npm run ci;
25-
npm run release;
15+
npm run release -- --branch *;
2616
npm publish --access=public;
2717
npm run log;
2818
fi'
29-
3019
branches:
3120
only:
3221
- staging

0 commit comments

Comments
 (0)