Skip to content

Commit fc6b309

Browse files
committed
fix: update relase config
1 parent 866ae40 commit fc6b309

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- master
6+
- next
67
jobs:
78
release:
89
name: Release

release.config.cjs

+10-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
1-
const npm = [
2-
'@semantic-release/npm',
3-
{
4-
pkgRoot: 'package'
5-
}
6-
];
71
module.exports = {
8-
branches: ['master'],
2+
branches: ['master', 'next'],
93
verifyConditions: [
104
'@semantic-release/changelog',
115
'@semantic-release/npm',
@@ -20,5 +14,13 @@ module.exports = {
2014
message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}'
2115
}
2216
],
23-
publish: [npm, '@semantic-release/github']
17+
publish: [
18+
[
19+
'@semantic-release/npm',
20+
{
21+
pkgRoot: 'package'
22+
}
23+
],
24+
'@semantic-release/github'
25+
]
2426
};

0 commit comments

Comments
 (0)