Skip to content

Commit

Permalink
chore: make pre-releases from next branch (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Sep 13, 2021
1 parent 889a03a commit 9aeaf24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Expand Up @@ -134,7 +134,7 @@ jobs:
release:
if:
# prettier-ignore
${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' }}
${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/next') }}
name: Release new version
needs: [prettier, typecheck, test-node, test-os]
runs-on: ubuntu-latest
Expand Down
6 changes: 5 additions & 1 deletion package.json
Expand Up @@ -135,7 +135,11 @@
},
"release": {
"branches": [
"main"
"main",
{
"name": "next",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
Expand Down

0 comments on commit 9aeaf24

Please sign in to comment.