diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d6b449f..3ab00cb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 diff --git a/release-please-config.json b/release-please-config.json index 317e7b5..f89cae1 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -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 + } + ] + } + } } \ No newline at end of file