Skip to content

Commit c4056ee

Browse files
committed
fix: Updated quickstarts for patch release.
1 parent 64135e9 commit c4056ee

File tree

5 files changed

+13
-12
lines changed

5 files changed

+13
-12
lines changed

.github/workflows/a11y.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: A11y CI
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [v6.2.x]
66
pull_request:
7-
branches: [main]
7+
branches: [v6.2.x]
88

99
jobs:
1010
a11y:

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Node.js CI
55

66
on:
77
push:
8-
branches: [main]
8+
branches: [v6.2.x]
99
pull_request:
10-
branches: [main]
10+
branches: [v6.2.x]
1111

1212
jobs:
1313
build:

.github/workflows/promote.yml

Lines changed: 2 additions & 2 deletions
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-
- v6.*
6+
- v6.2.*
77
jobs:
88
build-and-promote:
99
runs-on: ubuntu-latest
@@ -28,4 +28,4 @@ jobs:
2828
run: |
2929
cd packages/module
3030
npm version ${{ github.ref_name }} --git-tag-version false
31-
npm publish --tag=latest
31+
npm publish --tag=patch

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: release
22
on:
33
push:
44
branches:
5-
- main
5+
- 6.2.x
66
jobs:
77
deploy:
88
runs-on: ubuntu-latest

packages/module/release.config.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
'do-not-delete',
44
{ name: 'main', channel: 'prerelease', prerelease: 'prerelease' },
55
{ name: 'v5', channel: 'prerelease-v5', range: '5.4.x' },
6+
{ name: '6.2.x', channel: 'prerelease-bugfix', range: '6.2.x' },
67
],
78
analyzeCommits: {
89
preset: 'angular',
@@ -13,15 +14,15 @@ module.exports = {
1314
{
1415
preset: 'angular',
1516
releaseRules: [
16-
{ type: 'chore', scope: 'deps', release: 'patch' },
17-
{ type: 'chore', scope: 'ci-release', release: 'patch' },
17+
{ type: 'feat', release: 'patch' },
18+
{ type: 'fix', release: 'patch' },
1819
],
1920
},
2021
],
2122
'@semantic-release/release-notes-generator',
2223
'@semantic-release/github',
23-
'@semantic-release/npm',
24+
['@semantic-release/npm', { pkgRoot: 'dist' }],
2425
],
25-
tagFormat: 'prerelease-v${version}',
26-
dryRun: false,
26+
tagFormat: 'patch-v${version}',
27+
dryRun: true,
2728
};

0 commit comments

Comments
 (0)