Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 1f869ab

Browse files
Merge branch 'master-local' into master-dist
2 parents 253799a + 4a88dc6 commit 1f869ab

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ after_success:
3535

3636
- 'if [[ "$TRAVIS_SECURE_ENV_VARS" = "true" && "$TRAVIS_BRANCH" = "master-dist" ]]; then
3737
npm prune;
38-
npm run semantic-release;
38+
npm run semantic-release-prepare;
39+
sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_bump.sh -p;
40+
sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_publish-npm.sh || travis_terminate 0;
41+
npm run semantic-release-publish;
3942
sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_publish-webjar.sh -p;
4043
sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_release-all.sh -o;
4144
fi'

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@
8888
"patternfly-bootstrap-treeview": "~2.1.0"
8989
},
9090
"release": {
91+
"branch": "master-dist",
92+
"publish": ["@semantic-release/npm", "@semantic-release/github"],
93+
"npmPublish": false,
9194
"debug": false
9295
},
9396
"scripts": {
@@ -101,6 +104,7 @@
101104
"start-rcue": "grunt build-rcue serve",
102105
"grunt": "grunt",
103106
"semantic-release": "semantic-release",
107+
"semantic-release-publish": "semantic-release --publish",
104108
"semantic-release-prepare": "semantic-release --prepare",
105109
"commit": "git-cz",
106110
"commitmsg": "commitlint -e",

0 commit comments

Comments
 (0)