Skip to content

Commit 7e3e008

Browse files
committed
chore: allow releases from v4 branch
1 parent e48be33 commit 7e3e008

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
- run: yarn lint
8888

8989
release:
90-
if: ${{ github.event_name == 'push' && github.event.ref == 'refs/heads/main' }}
90+
if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/main' || github.event.ref == 'refs/heads/v4') }}
9191
name: Release new version
9292
needs: [lint, test-node, test-os]
9393
runs-on: ubuntu-latest

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@
114114
},
115115
"release": {
116116
"branches": [
117-
"main"
117+
"main",
118+
"v4"
118119
]
119120
},
120121
"resolutions": {

0 commit comments

Comments
 (0)