Skip to content

Commit

Permalink
ci: add release-please
Browse files Browse the repository at this point in the history
Refs: RATYK-86
  • Loading branch information
charn committed Feb 28, 2025
1 parent 9d3e0f1 commit 9d3c2c8
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish to PyPI
on:
push:
tags:
- 'v*.*.*'
- 'django-helusers-v*'

jobs:
build-and-publish:
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 @@
{
".": "0.13.0"
}
25 changes: 25 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -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"]
}

0 comments on commit 9d3c2c8

Please sign in to comment.