Skip to content

Commit fbc2573

Browse files
build: added releaserc copy step
1 parent fe75422 commit fbc2573

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

Jenkinsfile

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -73,23 +73,6 @@ spec:
7373
}
7474
}
7575
}
76-
stage('Test semantic-release') {
77-
when {
78-
branch 'test-semantic-monorepo-config'
79-
}
80-
steps {
81-
container('node20') {
82-
script {
83-
echo '## Running semantic-release...'
84-
withEnv(["GH_TOKEN=${RAW_GH_TOKEN_PSW}"]) {
85-
sh 'yarn install --immutable'
86-
sh 'yarn build'
87-
sh 'yarn test-publish-packages'
88-
}
89-
}
90-
}
91-
}
92-
}
9376
stage('Build') {
9477
steps {
9578
container('node20') {

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@
2020
"postbuild": "lerna run --ignore=@asu/unity-bootstrap-theme docs",
2121
"test": "lerna run test --stream --parallel",
2222
"test:e2e": "jest",
23-
"prepublish-packages": "node scripts/copy-license.js",
23+
"prepublish-packages": "node scripts/copy-license.js && node scripts/copy-release-rc.js",
2424
"publish-packages": "yarn prepublish-packages && lerna exec --concurrency 1 -- npx --no-install semantic-release --debug -e semantic-release-monorepo",
25-
"test-publish-packages": "node scripts/copy-release-rc.js && lerna exec --concurrency 1 -- npx --no-install semantic-release --debug --dry-run -e semantic-release-monorepo",
2625
"start": "node server/server.js",
2726
"stop": "node server/server.stop.js",
2827
"prepare": "husky install",

0 commit comments

Comments
 (0)