mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 13:23:09 +01:00
ci: improve release-please (#105)
Add sentence-case plugin and move a few parameters from the command line to the configuration. Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
This commit is contained in:
parent
242b25a1ce
commit
e13a60f15c
5
.github/workflows/release-please.yml
vendored
5
.github/workflows/release-please.yml
vendored
@ -48,10 +48,7 @@ jobs:
|
||||
run: |
|
||||
npx release-please release-pr \
|
||||
--token="${{ secrets.REPO_PAT }}" \
|
||||
--repo-url="${{ github.repository }}" \
|
||||
--bump-minor-pre-major=true \
|
||||
--release-as=0.1.0 \
|
||||
--signoff "Peggie <info@cloudnative-pg.io>";
|
||||
--repo-url="${{ github.repository }}"
|
||||
npx release-please github-release \
|
||||
--token="${{ secrets.REPO_PAT }}" \
|
||||
--repo-url="${{ github.repository }}"
|
||||
|
||||
@ -1,12 +1,15 @@
|
||||
{
|
||||
"changelog-path": "CHANGELOG.md",
|
||||
"release-type": "go",
|
||||
"bump-minor-pre-major": false,
|
||||
"bump-minor-pre-major": true,
|
||||
"bump-patch-for-minor-pre-major": false,
|
||||
"draft": false,
|
||||
"prerelease": false,
|
||||
"packages": {
|
||||
".": {}
|
||||
},
|
||||
"plugins": [ "sentence-case" ],
|
||||
"release-as": "0.1.0",
|
||||
"signoff": "Peggie <info@cloudnative-pg.io>",
|
||||
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user