Skip to content
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

Alpha #187

Closed
wants to merge 3 commits into from
Closed

Alpha #187

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// semantic-release parses curly-brace template items in plain strings:
/* eslint-disable no-template-curly-in-string */

module.exports = {
branches: ['main'],
branches: ['main', {name: 'beta', prerelease: true}],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
Expand All @@ -12,7 +15,10 @@ module.exports = {
[
'@semantic-release/npm',
{
// Do not set 'tarballDir' without considering this issue: https://github.com/semantic-release/npm/issues/535
// Do not set 'tarballDir' to a relative path without considering this issue:
// https://github.com/semantic-release/npm/issues/535
// If the tarball is within the package directory, it will be included in the second 'prepack' run.
tarballDir: '/tmp/semantic-release-${nextRelease.gitHead}/'
}
],
[
Expand All @@ -27,7 +33,7 @@ module.exports = {
[
'@semantic-release/github',
{
assets: 'pack/*.tgz'
assets: '/tmp/semantic-release-${nextRelease.gitHead}/*.tgz'
}
]
]
Expand Down
Loading