mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 00:14:41 +01:00
feat: add release-please for conventional-commit based releases
This commit is contained in:
parent
5015fb5259
commit
8bdfb9bc0e
3 changed files with 34 additions and 0 deletions
20
.github/workflows/release-please.yml
vendored
Normal file
20
.github/workflows/release-please.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
name: release-please
|
||||
|
||||
jobs:
|
||||
release-please:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: googleapis/release-please-action@v4
|
||||
with:
|
||||
config-file: release-please-config.json
|
||||
manifest-file: .release-please-manifest.json
|
||||
# todo: add block to run rever's Authors and appimage activity on release
|
3
.release-please-manifest.json
Normal file
3
.release-please-manifest.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
".": "0.19.0"
|
||||
}
|
11
release-please-config.json
Normal file
11
release-please-config.json
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
||||
"release-type": "python",
|
||||
"bump-minor-pre-major": true,
|
||||
"include-v-in-tag": false,
|
||||
"bump-patch-for-minor-pre-major": true,
|
||||
"packages": {
|
||||
".": {
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue