Skip to content

Commit 85d34c3

Browse files
committed
chore: Enable pre releases for next branch
1 parent 9814ac5 commit 85d34c3

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,18 @@ jobs:
7575
yarn release -d --repositoryUrl https://x-access-token:[email protected]/$GITHUB_REPOSITORY.git
7676
7777
- name: Release
78-
if: github.event_name != 'pull_request' && contains('refs/heads/main', github.ref)
78+
if: (github.event_name != 'pull_request' && contains('refs/heads/main', github.ref)) || github.event_name != 'workflow_dispatch'
7979
env:
8080
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
8181
run: |
8282
cp .release/* .
8383
yarn
8484
yarn release --repositoryUrl https://x-access-token:[email protected]/$GITHUB_REPOSITORY.git
85-
85+
8686
provenance:
8787
name: Generate provenance
8888
runs-on: ubuntu-20.04
89-
needs:
89+
needs:
9090
release
9191
if: startsWith(github.ref, 'refs/tags/')
9292

.releaserc.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
{
77
"name": "develop",
88
"prerelease": true
9+
},
10+
{
11+
"name": "next",
12+
"prerelease": true
913
}
1014
],
1115
"tagFormat": "v${version}",
@@ -45,4 +49,4 @@
4549
}
4650
]
4751
]
48-
}
52+
}

0 commit comments

Comments
 (0)