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

Commit 59a8b9a

Browse files
authored
fix(build): update sematic release (#422)
1 parent 5d3e7a3 commit 59a8b9a

File tree

3 files changed

+57
-61
lines changed

3 files changed

+57
-61
lines changed

.travis.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ script:
3131
- sh -x ./node_modules/patternfly-eng-release/scripts/_build.sh -x
3232

3333
after_success:
34-
- 'if [[ "$TRAVIS_SECURE_ENV_VARS" = "true" && "$TRAVIS_BRANCH" = "master-dist" ]]; then
35-
npm run semantic-release-pre;
36-
sh -x ./node_modules/patternfly-eng-release/scripts/semantic-release/_publish-npm.sh || travis_terminate 0;
37-
npm run semantic-release-post;
38-
fi'
3934
- npm run publish-travis
4035

4136
branches:

package-lock.json

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

package.json

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"lint:less:fix": "npm run lint:less -- --fix",
2525
"lint:ts": "tslint -c tslint.json 'src/**/*.ts'",
2626
"lint:ts:fix": "npm run lint:ts -- --fix",
27-
"postinstall": "node src/scripts/package/install.js",
2827
"publish-travis": "node_modules/patternfly-eng-publish/script/publish-ghpages.sh -t dist-demo",
2928
"reinstall": "npm run clean && npm install",
3029
"rimraf": "rimraf",
@@ -56,13 +55,38 @@
5655
"ng5",
5756
"ng6"
5857
],
58+
"config": {
59+
"commitizen": {
60+
"path": "./node_modules/cz-conventional-changelog"
61+
}
62+
},
63+
"bugs": {
64+
"url": "https://github.com/patternfly/patternfly-ng/issues"
65+
},
5966
"homepage": "https://github.com/patternfly/patternfly-ng",
6067
"repository": {
6168
"type": "git",
6269
"url": "https://github.com/patternfly/patternfly-ng.git"
6370
},
64-
"bugs": {
65-
"url": "https://github.com/patternfly/patternfly-ng/issues"
71+
"publishConfig": {
72+
"registry": "https://registry.npmjs.org/",
73+
"tag": "latest"
74+
},
75+
"release": {
76+
"branch": "master",
77+
"prepare": [
78+
{
79+
"path": "@semantic-release/npm",
80+
"pkgRoot": "dist"
81+
}
82+
],
83+
"publish": [
84+
{
85+
"path": "@semantic-release/npm",
86+
"pkgRoot": "dist"
87+
},
88+
"@semantic-release/github"
89+
]
6690
},
6791
"engines": {
6892
"node": ">=8.11.1",
@@ -155,7 +179,7 @@
155179
"nsp": "3.2.1",
156180
"optimize-js-plugin": "0.0.4",
157181
"patternfly-eng-publish": "0.0.4",
158-
"patternfly-eng-release": "^3.26.73",
182+
"patternfly-eng-release": "^3.26.74",
159183
"phantomjs-prebuilt": "2.1.16",
160184
"protractor": "5.4.0",
161185
"raw-loader": "0.5.1",
@@ -188,19 +212,5 @@
188212
"webpack-dev-server": "3.1.5",
189213
"webpack-merge": "4.1.3",
190214
"zone.js": "0.8.26"
191-
},
192-
"release": {
193-
"branch": "master-dist",
194-
"debug": false,
195-
"pkgRoot": "./dist"
196-
},
197-
"config": {
198-
"commitizen": {
199-
"path": "./node_modules/cz-conventional-changelog"
200-
}
201-
},
202-
"files": [
203-
"dist",
204-
"src/scripts"
205-
]
215+
}
206216
}

0 commit comments

Comments
 (0)