Skip to content

Commit

Permalink
chore(release-please-action): #178 fix release-please-config for v4 (#…
Browse files Browse the repository at this point in the history
…179)

* chore(release-please): Update config with release-please-action v4 config options

* fix release-please-config

* fix release-please-config to follow v4 pattern

* Update release-please-action to latest version
  • Loading branch information
mike-winberry authored and CloudBeard committed Mar 26, 2024
1 parent 379d90a commit 7550fa9
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
steps:
- name: Create release tag
id: tag
uses: google-github-actions/release-please-action@cc61a07e2da466bebbc19b3a7dd01d6aecb20d1e # v4
with:
release-type: "go"
uses: google-github-actions/release-please-action@a37ac6e4f6449ce8b3f7607e4d97d0146028dc0b
- id: release-flag
run: echo "release_created=${{ steps.tag.outputs.release_created || false }}" >> $GITHUB_OUTPUT

Expand Down
27 changes: 25 additions & 2 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
{
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true
"packages": {
".": {
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"release-type": "go",
"changelog-path": "CHANGELOG.md",
"changelog-sections": [
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
},
{
"type": "chore",
"section": "Miscellaneous",
"hidden": false
}
]
}
}
}

0 comments on commit 7550fa9

Please sign in to comment.