ci: add release-please for automated versioning and changelog

Adds the release-please GitHub Action (python release type), config, and
manifest pinned at the current 0.2.0. The version lives in both
pyproject.toml and src/deepzero/__init__.py; the latter is bumped via
extra-files plus an x-release-please-version annotation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
416rehman
2026-07-26 11:49:04 -06:00
co-authored by Claude Opus 4.8
parent 8f0e973ab2
commit a11b66a6f8
4 changed files with 53 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
name: release-please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
+3
View File
@@ -0,0 +1,3 @@
{
".": "0.2.0"
}
+30
View File
@@ -0,0 +1,30 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bootstrap-sha": null,
"packages": {
".": {
"release-type": "python",
"package-name": "deepzero",
"changelog-path": "CHANGELOG.md",
"bump-minor-pre-major": true,
"draft": false,
"prerelease": false,
"include-v-in-tag": true,
"extra-files": [
"src/deepzero/__init__.py"
]
}
},
"changelog-sections": [
{ "type": "feat", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "perf", "section": "Performance" },
{ "type": "refactor", "section": "Refactors" },
{ "type": "docs", "section": "Documentation" },
{ "type": "revert", "section": "Reverts" },
{ "type": "test", "section": "Tests", "hidden": true },
{ "type": "build", "section": "Build System", "hidden": true },
{ "type": "ci", "section": "Continuous Integration", "hidden": true },
{ "type": "chore", "section": "Chores", "hidden": true }
]
}
+1 -1
View File
@@ -1,2 +1,2 @@
# deepzero - configurable, data-driven binary analysis pipeline
__version__ = "0.2.0"
__version__ = "0.2.0" # x-release-please-version