Skip to content

Commit

Permalink
fix(semantic-release):Add main to allowed branch
Browse files Browse the repository at this point in the history
Until [this PR](semantic-release/semantic-release#1581) has been merged and released we need to ensure that repositories running on a  main default branch instead of [one of these expected names](https://github.com/semantic-release/semantic-release/blob/master/lib/get-config.js#L57-L63) the release still works.

This spire default can be overridden via the --branches flag
  • Loading branch information
stefanhoth committed May 21, 2021
1 parent 9a9f237 commit bacb85e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/spire-plugin-semantic-release/config/default.js
@@ -1,4 +1,5 @@
module.exports = {
branches: ['main', 'master'],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
Expand Down
1 change: 1 addition & 0 deletions packages/spire-plugin-semantic-release/config/github.js
@@ -1,4 +1,5 @@
module.exports = {
branches: ['main', 'master'],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
Expand Down
1 change: 1 addition & 0 deletions packages/spire-plugin-semantic-release/config/gitlab.js
@@ -1,4 +1,5 @@
module.exports = {
branches: ['main', 'master'],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
Expand Down

0 comments on commit bacb85e

Please sign in to comment.