diff --git a/.github/.release-please-manifest.json b/.github/.release-please-manifest.json new file mode 100644 index 0000000..949ce4c --- /dev/null +++ b/.github/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.2.2" +} diff --git a/.github/release-please-config.json b/.github/release-please-config.json new file mode 100644 index 0000000..580fdc4 --- /dev/null +++ b/.github/release-please-config.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "packages": { + ".": { + "release-type": "rust", + "include-component-in-tag": false, + "changelog-path": "CHANGELOG.md" + } + }, + "extra-files": [ + { + "type": "generic", + "path": "zixy-py/zixy/__init__.py" + }, + { + "type": "generic", + "path": "uv.lock" + }, + { + "type": "toml", + "path": "zixy-py/pyproject.toml" + } + ], + "plugins": [ + "cargo-workspace" + ] +} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..d2fa037 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,22 @@ +name: Release Please + +on: + push: + branches: + - main + workflow_dispatch: {} + +permissions: + contents: write + issues: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 + with: + token: ${{ secrets.RELEASE_PLEASE_ZIXY }} + config-file: .github/release-please-config.json + manifest-file: .github/.release-please-manifest.json diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..073cbf6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +# Changelog + +Note: this file is managed by `release-please`. diff --git a/zixy-py/zixy/__init__.py b/zixy-py/zixy/__init__.py index bb50dfc..d2530ff 100644 --- a/zixy-py/zixy/__init__.py +++ b/zixy-py/zixy/__init__.py @@ -24,6 +24,6 @@ __all__ = ["container", "fermion", "qubit"] -# This is updated by our release-please workflow, triggered by this -# annotation: x-release-please-version +# x-release-please-start-version __version__ = "0.2.2" +# x-release-please-end