Skip to content

Commit e13a60f

Browse files
authored
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 <[email protected]>
1 parent 242b25a commit e13a60f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/release-please.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ jobs:
4848
run: |
4949
npx release-please release-pr \
5050
--token="${{ secrets.REPO_PAT }}" \
51-
--repo-url="${{ github.repository }}" \
52-
--bump-minor-pre-major=true \
53-
--release-as=0.1.0 \
54-
--signoff "Peggie <[email protected]>";
51+
--repo-url="${{ github.repository }}"
5552
npx release-please github-release \
5653
--token="${{ secrets.REPO_PAT }}" \
5754
--repo-url="${{ github.repository }}"

release-please-config.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
{
22
"changelog-path": "CHANGELOG.md",
33
"release-type": "go",
4-
"bump-minor-pre-major": false,
4+
"bump-minor-pre-major": true,
55
"bump-patch-for-minor-pre-major": false,
66
"draft": false,
77
"prerelease": false,
88
"packages": {
99
".": {}
1010
},
11+
"plugins": [ "sentence-case" ],
12+
"release-as": "0.1.0",
13+
"signoff": "Peggie <[email protected]>",
1114
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
1215
}

0 commit comments

Comments
 (0)