Skip to content

Commit e28cfc4

Browse files
authored
build( travis ): Release commands updated
2 parents 1f612de + ba02a67 commit e28cfc4

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.travis.yml

Lines changed: 1 addition & 12 deletions
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)