mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 21:23:12 +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: |
|
run: |
|
||||||
npx release-please release-pr \
|
npx release-please release-pr \
|
||||||
--token="${{ secrets.REPO_PAT }}" \
|
--token="${{ secrets.REPO_PAT }}" \
|
||||||
--repo-url="${{ github.repository }}" \
|
--repo-url="${{ github.repository }}"
|
||||||
--bump-minor-pre-major=true \
|
|
||||||
--release-as=0.1.0 \
|
|
||||||
--signoff "Peggie <info@cloudnative-pg.io>";
|
|
||||||
npx release-please github-release \
|
npx release-please github-release \
|
||||||
--token="${{ secrets.REPO_PAT }}" \
|
--token="${{ secrets.REPO_PAT }}" \
|
||||||
--repo-url="${{ github.repository }}"
|
--repo-url="${{ github.repository }}"
|
||||||
|
|||||||
@ -1,12 +1,15 @@
|
|||||||
{
|
{
|
||||||
"changelog-path": "CHANGELOG.md",
|
"changelog-path": "CHANGELOG.md",
|
||||||
"release-type": "go",
|
"release-type": "go",
|
||||||
"bump-minor-pre-major": false,
|
"bump-minor-pre-major": true,
|
||||||
"bump-patch-for-minor-pre-major": false,
|
"bump-patch-for-minor-pre-major": false,
|
||||||
"draft": false,
|
"draft": false,
|
||||||
"prerelease": false,
|
"prerelease": false,
|
||||||
"packages": {
|
"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"
|
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user