Skip to content

Commit 92475e1

Browse files
author
strausr
committed
fix: configure main as both regular and prerelease branch, fetch all branches
1 parent e74ff2a commit 92475e1

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747

4848
- name: Setup git branch
4949
run: |
50+
git fetch --all --tags
5051
git checkout -B main
5152
git branch --set-upstream-to=origin/main main
5253

.releaserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"branches": [
3-
"+([0-9])?(.{+([0-9]),x}).x",
3+
"main",
44
{
55
"name": "main",
66
"prerelease": "beta"

0 commit comments

Comments
 (0)