Skip to content

Commit

Permalink
fix: update workflows for new v5 branch name (#68)
Browse files Browse the repository at this point in the history
* Update check-pr.yml

* Update release.yml

* Update package.json

* Update release.config.js
  • Loading branch information
nicolethoen authored Sep 18, 2024
1 parent 1e50fdf commit b7334f6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
pull_request:
branches:
- main
- v5
- v4
jobs:
call-build-lint-test-workflow:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: release
on:
push:
branches:
- main
- v4
- v5
jobs:
call-build-lint-test-workflow:
uses: ./.github/workflows/build-lint-test.yml
Expand Down
3 changes: 1 addition & 2 deletions packages/module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
},
"homepage": "https://github.com/patternfly/react-console/#readme",
"publishConfig": {
"access": "public",
"tag": "prerelease"
"access": "public"
},
"dependencies": {
"@novnc/novnc": "^1.5.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/module/release.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
module.exports = {
branches: [
'do-not-delete',
{ name: 'v4', channel: 'prerelease-v4', range: '4.x' },
{ name: 'main', channel: 'prerelease', prerelease: 'prerelease' }
{ name: 'v5', channel: 'prerelease-v5', range: '5.x' }
],
analyzeCommits: {
preset: 'angular'
Expand All @@ -22,5 +21,6 @@ module.exports = {
'@semantic-release/github',
'@semantic-release/npm'
],
tagFormat: 'prerelease-v${version}'
tagFormat: 'prerelease-v${version}',
dryRun: true
};

0 comments on commit b7334f6

Please sign in to comment.