Skip to content

Commit 90199d8

Browse files
authored
Merge pull request #266 from patternfly/nicolethoen-patch-2
fix: set up v6 publishing on main branch
2 parents 6ea3950 + 530082d commit 90199d8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/promote.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
# Sequence of patterns matched against refs/tags
55
tags:
6-
- v5.*
6+
- v6.*
77
jobs:
88
build-and-promote:
99
runs-on: ubuntu-latest

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: release
22
on:
33
push:
44
branches:
5-
- v6
5+
- main
66
jobs:
77
call-build-lint-test-workflow:
88
uses: ./.github/workflows/build-lint-test.yml

packages/module/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"homepage": "https://github.com/patternfly/virtual-assistant#readme",
2929
"publishConfig": {
3030
"access": "public",
31-
"tag": "alpha"
31+
"tag": "prerelease"
3232
},
3333
"dependencies": {
3434
"@patternfly/react-core": "6.0.0-prerelease.21",

packages/module/release.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
branches: [
33
'do-not-delete',
44
{ name: 'main', channel: 'prerelease', prerelease: 'prerelease' },
5-
{ name: 'v6', channel: 'alpha', prerelease: 'alpha' }
5+
{ name: 'v5', channel: 'prerelease-5', range: '5.x' }
66
],
77
analyzeCommits: {
88
preset: 'angular'
@@ -14,5 +14,5 @@ module.exports = {
1414
'@semantic-release/npm'
1515
],
1616
tagFormat: 'prerelease-v${version}',
17-
dryRun: false
17+
dryRun: true
1818
};

0 commit comments

Comments
 (0)