diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..6186793 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,18 @@ +# .github/workflows/release-please.yml +name: release-please +on: + push: + branches: + - main + schedule: + - cron: '1 0 * * *' + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0907d91..0f72ab8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Publish to PyPI on: push: tags: - - 'v*.*.*' + - 'django-helusers-v*' jobs: build-and-publish: diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..ed21d28 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.13.0" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..bad7cfd --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,25 @@ +{ + "bootstrap-sha": "fe9af68b60e8958176af285269e95396cee5208d", + "sequential-calls": true, + "packages": { + ".": { + "release-type": "python", + "package-name": "django-helusers", + "changelog-sections": [ + {"type": "feat", "section": "Features"}, + {"type": "fix", "section": "Bug Fixes"}, + {"type": "perf", "section": "Performance Improvements"}, + {"type": "deps", "section": "Dependencies"}, + {"type": "revert", "section": "Reverts"}, + {"type": "docs", "section": "Documentation"}, + {"type": "style", "section": "Styles", "hidden": true}, + {"type": "chore", "section": "Miscellaneous Chores", "hidden": true}, + {"type": "refactor", "section": "Code Refactoring", "hidden": true}, + {"type": "test", "section": "Tests", "hidden": true}, + {"type": "build", "section": "Build System", "hidden": true}, + {"type": "ci", "section": "Continuous Integration", "hidden": true} + ] + } + }, + "plugins": ["sentence-case"] +}