Skip to content

Commit 30b02d5

Browse files
committed
ci: 🎡 リリースブランチをreleaseに変更
1 parent f32209a commit 30b02d5

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [release]
66

77
jobs:
88
release:

release.config.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const types = require('./commit-types.config')
1111
/**
1212
* GitHubのデフォルトブランチ
1313
*/
14-
const defaultBranch = 'main'
14+
const defaultBranch = 'release'
1515

1616
/**
1717
* changelogを書き出すファイル名
@@ -24,9 +24,7 @@ module.exports = {
2424
*
2525
* @see https://semantic-release.gitbook.io/semantic-release/usage/workflow-configuration
2626
*/
27-
branches: [
28-
defaultBranch,
29-
],
27+
branches: [defaultBranch],
3028
/**
3129
* Gitタグのフォーマット。Lodashのテンプレートが使えます。
3230
* multi-semantic-releaseを使った場合は、この設定は無視されます。

0 commit comments

Comments
 (0)