Skip to content

Commit d0fbea3

Browse files
authored
Merge pull request #267 from patternfly/nicolethoen-patch-1
fix: set up npm publishing on v5 branch
2 parents 68e136b + 3a178a8 commit d0fbea3

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

.github/workflows/pr-preview.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
git checkout tmp
1818
1919
- run: |
20-
git rev-parse origin/main
20+
git rev-parse origin/v5
2121
git rev-parse HEAD
22-
git rev-parse origin/main..HEAD
23-
git log origin/main..HEAD --format="%b"
22+
git rev-parse origin/v5..HEAD
23+
git log origin/v5..HEAD --format="%b"
2424
2525
# Yes, we really want to checkout the PR
2626
# Injected by generate-workflows.js
@@ -52,4 +52,4 @@ jobs:
5252
name: a11y tests
5353
- run: node .github/upload-preview.js packages/module/coverage
5454
name: Upload a11y report
55-
if: always()
55+
if: always()

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
branches:
55
- main
6-
- v4
6+
- v5
77
jobs:
88
call-build-lint-test-workflow:
99
uses: ./.github/workflows/build-lint-test.yml

packages/module/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
},
2828
"homepage": "https://github.com/patternfly/virtual-assistant#readme",
2929
"publishConfig": {
30-
"access": "public",
31-
"tag": "prerelease"
30+
"access": "public"
3231
},
3332
"dependencies": {
3433
"@patternfly/react-core": "^5.1.2",

packages/module/release.config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
branches: [ 'do-not-delete', { name: 'main', channel: 'prerelease', prerelease: 'prerelease' } ],
2+
branches: [ 'do-not-delete', { name: 'v5', channel: 'prerelease-v5', range: '5.x' } ],
33
analyzeCommits: {
44
preset: 'angular'
55
},
@@ -10,5 +10,5 @@ module.exports = {
1010
'@semantic-release/npm'
1111
],
1212
tagFormat: 'prerelease-v${version}',
13-
dryRun: false
14-
};
13+
dryRun: true
14+
};

0 commit comments

Comments
 (0)