diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml new file mode 100644 index 0000000..d2636e4 --- /dev/null +++ b/.github/workflows/release-please.yaml @@ -0,0 +1,23 @@ +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +name: release-please + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 + with: + token: ${{ secrets.RELEASE_PLEASE_PAT }} + # this assumes that you have created a personal access token + # (PAT) and configured it as a GitHub action secret named + # `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important). + # this is a built-in strategy in release-please, see "Action Inputs" + # for more options \ No newline at end of file diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..1756d5c --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.0.8" +} \ No newline at end of file diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..4e10d05 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,37 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "python", + "packages": { + ".": { + "release-type": "python", + "changelog-sections": [ + {"section": "๐Ÿš€ Features", "type": "feat", "hidden": false}, + {"section": "๐Ÿ› Bugfixes", "type": "fix", "hidden": false}, + {"section": "๐Ÿ“ Documentation", "type": "docs", "hidden": false}, + {"section": "โฌ†๏ธ Dependency updates", "type": "deps", "hidden": false}, + {"section": "๐Ÿ”จ Code Refactoring", "type": "refactor", "hidden": false}, + {"section": "๐Ÿงช Tests", "type": "test", "hidden": false}, + {"section": "โช๏ธ Reverts", "type": "revert", "hidden": false}, + {"section": "โšก๏ธ Performance Improvements", "type": "perf", "hidden": false}, + {"section": "๐Ÿ—๏ธ Maintenance", "type": "build", "hidden": false}, + {"section": "๐ŸŽจ Styles", "type": "style", "hidden": false}, + {"section": "๐Ÿ”ง Miscellaneous Chores", "type": "chore", "hidden": false}, + {"section": "๐Ÿ‘ท Continuous Integration", "type": "ci", "hidden": false} + ] + } + }, + "changelog-sections": [ + {"section": "๐Ÿš€ Features", "type": "feat", "hidden": false}, + {"section": "๐Ÿ› Bugfixes", "type": "fix", "hidden": false}, + {"section": "๐Ÿ“ Documentation", "type": "docs", "hidden": false}, + {"section": "โฌ†๏ธ Dependency updates", "type": "deps", "hidden": false}, + {"section": "๐Ÿ”จ Code Refactoring", "type": "refactor", "hidden": false}, + {"section": "๐Ÿงช Tests", "type": "test", "hidden": false}, + {"section": "โช๏ธ Reverts", "type": "revert", "hidden": false}, + {"section": "โšก๏ธ Performance Improvements", "type": "perf", "hidden": false}, + {"section": "๐Ÿ—๏ธ Maintenance", "type": "build", "hidden": false}, + {"section": "๐ŸŽจ Styles", "type": "style", "hidden": false}, + {"section": "๐Ÿ”ง Miscellaneous Chores", "type": "chore", "hidden": false}, + {"section": "๐Ÿ‘ท Continuous Integration", "type": "ci", "hidden": false} + ] +} \ No newline at end of file