Skip to content

Commit

Permalink
ci(release-please): initial Release Please configuration (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborsimko committed Aug 23, 2024
1 parent e01fff8 commit 5724844
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
branches:
- master

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
with:
config-file: .release-please-config.json
target-branch: ${{ github.ref_name }}
23 changes: 23 additions & 0 deletions .release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"include-v-in-tag": false,
"packages": {
".": {
"changelog-sections": [
{ "type": "build", "section": "Build", "hidden": false },
{ "type": "feat", "section": "Features", "hidden": false },
{ "type": "fix", "section": "Bug fixes", "hidden": false },
{ "type": "perf", "section": "Performance improvements", "hidden": false },
{ "type": "refactor", "section": "Code refactoring", "hidden": false },
{ "type": "style", "section": "Code style", "hidden": false },
{ "type": "test", "section": "Test suite", "hidden": false },
{ "type": "ci", "section": "Continuous integration", "hidden": false },
{ "type": "docs", "section": "Documentation", "hidden": false },
{ "type": "chore", "section": "Chores", "hidden": true }
]
}
},
"pull-request-footer": " ",
"pull-request-header": " ",
"release-type": "python"
}
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.4.0"
}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Changelog
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
include *.json
include *.md
include *.rst
include *.sh
include *.yml
include *.yaml
include .flake8
include .readthedocs.yaml
include Dockerfile
Expand Down

0 comments on commit 5724844

Please sign in to comment.