Skip to content

Commit 0d6c8fc

Browse files
committed
fix: Updated to release to prerelase-bugfix branch.
1 parent 12e6819 commit 0d6c8fc

File tree

5 files changed

+22
-13
lines changed

5 files changed

+22
-13
lines changed

.github/workflows/check-pr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ name: check-pr
22
on:
33
pull_request:
44
branches:
5-
- main
6-
- v5
5+
- 6.2.x
76
jobs:
87
call-build-lint-test-workflow:
98
uses: ./.github/workflows/build-lint-test.yml

.github/workflows/pr-preview.yml

Lines changed: 3 additions & 3 deletions
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/6.2.x
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/6.2.x..HEAD
23+
git log origin/6.2.x..HEAD --format="%b"
2424
2525
# Yes, we really want to checkout the PR
2626
# Injected by generate-workflows.js

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ name: release
22
on:
33
push:
44
branches:
5-
- main
6-
- v5
5+
- 6.2.x
76
jobs:
87
call-build-lint-test-workflow:
98
uses: ./.github/workflows/build-lint-test.yml

packages/module/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@patternfly/react-component-groups",
3-
"version": "5.0.0-prerelease.0",
3+
"version": "6.2.0",
44
"description": "Extended components used for Red Hat projects.",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",

packages/module/release.config.js

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,28 @@ module.exports = {
22
branches: [
33
'do-not-delete',
44
{ name: 'main', channel: 'prerelease', prerelease: 'prerelease' },
5-
{ name: 'v5', channel: 'prerelease-v5' }
5+
{ name: 'v5', channel: 'prerelease-v5' },
6+
{ name: '6.2.x', channel: 'prerelease-bugfix', range: '6.2.x' }
67
],
78
analyzeCommits: {
89
preset: 'angular'
910
},
1011
plugins: [
11-
'@semantic-release/commit-analyzer',
12+
[
13+
'@semantic-release/commit-analyzer',
14+
{
15+
preset: 'angular',
16+
releaseRules: [
17+
{ type: 'feat', release: 'patch' },
18+
{ type: 'fix', release: 'patch' }
19+
]
20+
}
21+
],
1222
'@semantic-release/release-notes-generator',
1323
'@semantic-release/github',
14-
'@semantic-release/npm'
15-
],
16-
tagFormat: 'prerelease-v${version}',
24+
'@semantic-release/npm',
25+
]
26+
,
27+
tagFormat: 'patch-v${version}',
1728
dryRun: false
1829
};

0 commit comments

Comments
 (0)