Skip to content

Commit 0038295

Browse files
committed
chore: set up 'next' prerelease channel for dogfooding
- add channels.next (preid rc, @next dist-tag) to .bumpy/_config.json - add next to the release workflow push triggers - make the release concurrency group per-branch
1 parent cdba9eb commit 0038295

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.bumpy/_config.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@
1212
"publish": {
1313
"provenance": true,
1414
"npmStaged": true
15+
},
16+
// prerelease channel — dogfooding our own feature: pushes to `next` publish
17+
// `-rc.N` versions to the @next dist-tag (prerelease versions are never committed)
18+
"channels": {
19+
"next": { "branch": "next", "preid": "rc", "tag": "next" }
1520
}
1621
}

.github/workflows/release.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
name: Release
99
on:
1010
push:
11-
branches: [main]
11+
branches: [main, next] # `next` = prerelease channel (dogfooding bumpy's own feature)
1212

1313
concurrency:
14-
group: bumpy-release
14+
# per-branch so a `next` prerelease run doesn't queue behind a `main` stable run
15+
group: bumpy-release-${{ github.ref }}
1516
cancel-in-progress: false
1617

1718
jobs:

0 commit comments

Comments
 (0)