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

Commit 644511d

Browse files
Merge branch 'master-local' into master-dist
2 parents 7feaeb8 + ed80a79 commit 644511d

File tree

7 files changed

+29
-13
lines changed

7 files changed

+29
-13
lines changed

.travis.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ script:
3030
after_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'

dist/js/patternfly-settings-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'use strict';
33

44
var patternfly = {
5-
version: "3.54.7"
5+
version: "0.0.0-semantically-released",
66
};
77

88
// definition of breakpoint sizes for tablet and desktop modes

dist/js/patternfly-settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'use strict';
33

44
var patternfly = {
5-
version: "3.54.7"
5+
version: "0.0.0-semantically-released",
66
};
77

88
// definition of breakpoint sizes for tablet and desktop modes

dist/js/patternfly-settings.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/patternfly.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'use strict';
33

44
var patternfly = {
5-
version: "3.54.7"
5+
version: "0.0.0-semantically-released",
66
};
77

88
// definition of breakpoint sizes for tablet and desktop modes

dist/js/patternfly.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
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",
@@ -89,9 +91,26 @@
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",

0 commit comments

Comments
 (0)