This repository was archived by the owner on Feb 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +23
-7
lines changed
Expand file tree Collapse file tree 2 files changed +23
-7
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,7 @@ script:
3030after_success :
3131 - ' if [[ "$TRAVIS_SECURE_ENV_VARS" = "true" && "$TRAVIS_BRANCH" = "master-dist" ]]; then
3232 npm prune;
33- npm run semantic-release-prepare;
34- sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_bump.sh -p;
35- sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_publish-npm.sh || travis_terminate 0;
36- npm run semantic-release-publish;
33+ npm run semantic-release;
3734 sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_publish-webjar.sh -p;
3835 sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_release-all.sh -o;
3936 fi'
Original file line number Diff line number Diff line change 1010 },
1111 "devDependencies" : {
1212 "@commitlint/cli" : " ^3.2.0" ,
13+ "@semantic-release/exec" : " ^3.1.3" ,
14+ "@semantic-release/git" : " ^7.0.4" ,
1315 "autoprefixer" : " ^6.4.0" ,
1416 "backstopjs" : " ~3.1.15" ,
1517 "chromy" : " ^0.5.5" ,
8991 },
9092 "release" : {
9193 "branch" : " master-dist" ,
92- "publish" : [" @semantic-release/npm" , " @semantic-release/github" ],
93- "npmPublish" : false ,
94- "debug" : false
94+ "prepare" : [
95+ " @semantic-release/npm" ,
96+ {
97+ "path" : " @semantic-release/exec" ,
98+ "cmd" : " sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_bump.sh -p -s -v ${nextRelease.version}"
99+ },
100+ {
101+ "path" : " @semantic-release/git" ,
102+ "assets" : [
103+ " package.json" ,
104+ " src/js/patternfly-settings-base.js" ,
105+ " bower.json"
106+ ],
107+ "message" : " chore(release): ${nextRelease.version} [skip ci]\n\n ${nextRelease.notes}"
108+ }
109+ ],
110+ "publish" : [
111+ " @semantic-release/github" ,
112+ " @semantic-release/npm"
113+ ]
95114 },
96115 "scripts" : {
97116 "test" : " grunt karma" ,
You can’t perform that action at this time.
0 commit comments