-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: Template default branch in oss-npm-package #1336
Conversation
Follows on from #1335.
|
@@ -99,7 +99,7 @@ If you use the `Squash and merge` option on pull requests, take extra care to fo | |||
|
|||
### Releasing latest | |||
|
|||
Commits to the `master` branch will be released with the `latest` tag, | |||
Commits to the `<%- defaultBranch %>` branch will be released with the `latest` tag, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
semantic-release/semantic-release#1581
Had to add the following, maybe we should speed up the migration to Changesets 😅
skuba/template/oss-npm-package/.releaserc
Lines 1 to 16 in 83ccc1b
{ | |
"branches": [ | |
"+([0-9])?(.{+([0-9]),x}).x", | |
"<%- defaultBranch %>", | |
"next", | |
"next-major", | |
{ | |
"name": "beta", | |
"prerelease": true | |
}, | |
{ | |
"name": "alpha", | |
"prerelease": true | |
} | |
] | |
} |
Follows on from #1335.