Skip to content

Commit 9aeaf24

Browse files
authored
chore: make pre-releases from next branch (#892)
1 parent 889a03a commit 9aeaf24

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
release:
135135
if:
136136
# prettier-ignore
137-
${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' }}
137+
${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/next') }}
138138
name: Release new version
139139
needs: [prettier, typecheck, test-node, test-os]
140140
runs-on: ubuntu-latest

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,11 @@
135135
},
136136
"release": {
137137
"branches": [
138-
"main"
138+
"main",
139+
{
140+
"name": "next",
141+
"prerelease": true
142+
}
139143
],
140144
"plugins": [
141145
"@semantic-release/commit-analyzer",

0 commit comments

Comments
 (0)