Skip to content

Commit 4c50c4d

Browse files
authored
ci: add backmerge branches (#7874)
1 parent e9d2383 commit 4c50c4d

File tree

3 files changed

+71
-0
lines changed

3 files changed

+71
-0
lines changed

package-lock.json

Lines changed: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
"@babel/plugin-transform-flow-strip-types": "7.9.0",
7070
"@babel/preset-env": "7.10.0",
7171
"@parse/minami": "1.0.0",
72+
"@saithodev/semantic-release-backmerge": "2.1.2",
7273
"@semantic-release/changelog": "5.0.1",
7374
"@semantic-release/commit-analyzer": "8.0.1",
7475
"@semantic-release/git": "9.0.0",

release.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,16 @@ async function config() {
8383
['@semantic-release/git', {
8484
assets: [changelogFile, 'package.json', 'package-lock.json', 'npm-shrinkwrap.json'],
8585
}],
86+
[
87+
"@saithodev/semantic-release-backmerge",
88+
{
89+
"branches": [
90+
{ from: "beta", to: "alpha" },
91+
{ from: "release", to: "beta" },
92+
{ from: "release", to: "alpha" },
93+
]
94+
}
95+
],
8696
['@semantic-release/github', {
8797
successComment: getReleaseComment(),
8898
labels: ['type:ci'],

0 commit comments

Comments
 (0)