File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,17 @@ before_install:
2424install : true
2525
2626script :
27+ - ' if [[ -n "$NPM_TOKEN" && -n "$GH_TOKEN" && "$TRAVIS_BRANCH" = "master-dist" ]]; then
28+ npm run semantic-release-pre;
29+ fi'
2730 - sh -x ./node_modules/patternfly-eng-release/scripts/_build.sh -a
2831
2932after_success :
30- - npm prune
31- - npm run semantic-release
33+ - ' if [[ -n "$NPM_TOKEN" && -n "$GH_TOKEN" && "$TRAVIS_BRANCH" = "master-dist" ]]; then
34+ npm prune;
35+ npm run semantic-release-publish;
36+ npm run semantic-release-post;
37+ fi'
3238 - sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_publish-webjar.sh -a
3339 - ./scripts/publish-ghpages.sh -t docs
3440
Original file line number Diff line number Diff line change 5353 "karma-phantomjs-launcher" : " ^1.0.0" ,
5454 "matchdep" : " 0.3.0" ,
5555 "nsp" : " ^2.6.1" ,
56- "patternfly-eng-release" : " ^3.26.12 " ,
56+ "patternfly-eng-release" : " ^3.26.15 " ,
5757 "semantic-release" : " ^6.3.6"
5858 },
5959 "optionalDependencies" : {
8888 "help" : " grunt help" ,
8989 "serve" : " grunt serve" ,
9090 "start" : " grunt serve" ,
91- "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
91+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post" ,
92+ "semantic-release-post" : " semantic-release post" ,
93+ "semantic-release-pre" : " semantic-release pre" ,
94+ "semantic-release-publish" : " npm publish"
9295 },
9396 "repository" : {
9497 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments