Skip to content

Commit

Permalink
ci: added release-please config and fixed release type
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhirn committed Feb 16, 2024
1 parent 9b66f01 commit 23e5e91
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
steps:
- uses: google-github-actions/release-please-action@cc61a07e2da466bebbc19b3a7dd01d6aecb20d1e # v4
id: release
with:
release-type: simple

- name: Checkout
if: ${{ steps.release.outputs.release_created }}
Expand Down
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "1.0.0"
}
29 changes: 29 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"pull-request-title-pattern": "release: ${component} ${version}",
"changelog-sections": [
{ "type": "feat", "section": "Features" },
{ "type": "feature", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "perf", "section": "Performance Improvements" },
{ "type": "revert", "section": "Reverts" },
{ "type": "docs", "section": "Documentation" },
{ "type": "style", "section": "Styles" },
{ "type": "chore", "section": "Miscellaneous Chores" },
{ "type": "refactor", "section": "Code Refactoring" },
{ "type": "test", "section": "Tests" },
{ "type": "build", "section": "Build System" },
{ "type": "ci", "section": "Continuous Integration" },
{ "type": "release", "section": "Releases", "hidden": true }
],
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "go",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

0 comments on commit 23e5e91

Please sign in to comment.