Skip to content

Commit 141370c

Browse files
authored
ci: fix auto-release (#1499)
1 parent 27aad63 commit 141370c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

release.config.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,21 +83,20 @@ async function config() {
8383
['@semantic-release/git', {
8484
assets: [changelogFile, 'package.json', 'package-lock.json', 'npm-shrinkwrap.json'],
8585
}],
86+
['@semantic-release/github', {
87+
successComment: getReleaseComment(),
88+
labels: ['type:ci'],
89+
releasedLabels: ['state:released<%= nextRelease.channel ? `-\${nextRelease.channel}` : "" %>']
90+
}],
8691
[
8792
'@saithodev/semantic-release-backmerge',
8893
{
8994
'branches': [
9095
{ from: 'beta', to: 'alpha' },
9196
{ from: 'release', to: 'beta' },
92-
{ from: 'release', to: 'alpha' },
9397
]
9498
}
9599
],
96-
['@semantic-release/github', {
97-
successComment: getReleaseComment(),
98-
labels: ['type:ci'],
99-
releasedLabels: ['state:released<%= nextRelease.channel ? `-\${nextRelease.channel}` : "" %>']
100-
}],
101100
],
102101
};
103102

0 commit comments

Comments
 (0)