Skip to content

Commit

Permalink
Merge pull request #266 from patternfly/nicolethoen-patch-2
Browse files Browse the repository at this point in the history
fix: set up v6 publishing on main branch
  • Loading branch information
nicolethoen authored Oct 24, 2024
2 parents 6ea3950 + 530082d commit 90199d8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
# Sequence of patterns matched against refs/tags
tags:
- v5.*
- v6.*
jobs:
build-and-promote:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release
on:
push:
branches:
- v6
- main
jobs:
call-build-lint-test-workflow:
uses: ./.github/workflows/build-lint-test.yml
Expand Down
2 changes: 1 addition & 1 deletion packages/module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"homepage": "https://github.com/patternfly/virtual-assistant#readme",
"publishConfig": {
"access": "public",
"tag": "alpha"
"tag": "prerelease"
},
"dependencies": {
"@patternfly/react-core": "6.0.0-prerelease.21",
Expand Down
4 changes: 2 additions & 2 deletions packages/module/release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
branches: [
'do-not-delete',
{ name: 'main', channel: 'prerelease', prerelease: 'prerelease' },
{ name: 'v6', channel: 'alpha', prerelease: 'alpha' }
{ name: 'v5', channel: 'prerelease-5', range: '5.x' }
],
analyzeCommits: {
preset: 'angular'
Expand All @@ -14,5 +14,5 @@ module.exports = {
'@semantic-release/npm'
],
tagFormat: 'prerelease-v${version}',
dryRun: false
dryRun: true
};

0 comments on commit 90199d8

Please sign in to comment.