Skip to content

Commit 884400a

Browse files
committed
chore: set up pre-releases
1 parent f6d819a commit 884400a

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release-please.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ on:
22
push:
33
branches:
44
- main
5+
- "release/*"
56

67
permissions:
78
contents: write
@@ -17,3 +18,4 @@ jobs:
1718
- uses: googleapis/release-please-action@v4
1819
with:
1920
target-branch: ${{ github.ref_name }}
21+
versioning-strategy: ${{ startsWith(github.ref_name, 'release/') && 'prerelease' || 'default' }}

release-please-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"bump-minor-pre-major": true,
2727
"bump-patch-for-minor-pre-major": false,
2828
"draft": false,
29-
"prerelease": true
29+
"prerelease": true,
30+
"prerelease-type": "rc"
3031
}
3132
},
3233
"versioning": "default"

0 commit comments

Comments
 (0)