diff --git a/.github/ISSUE_TEMPLATE/release.md b/.github/ISSUE_TEMPLATE/release.md index bda5fcd..d7bf9b5 100644 --- a/.github/ISSUE_TEMPLATE/release.md +++ b/.github/ISSUE_TEMPLATE/release.md @@ -4,6 +4,8 @@ about: "Create a new release [for release managers only]" title: "Release MAJOR.MINOR.PATCH" --- +## Todo list for publishing the release + - [ ] Bump the bdk-ffi submodule to the release tag in bdk-ffi. - [ ] Delete the `dist`, `build`, and `bdkpython.egg-info` and rust `target` directories to make sure you are building the library from scratch without any caches. - [ ] Build the library. @@ -31,9 +33,9 @@ git tag v0.6.0 --sign --edit ``` ```md -Release 2.3.1 +Release 3.0.0 -See https://github.com/bitcoindevkit/bdk-ffi/releases/tag/v2.3.1 and https://github.com/bitcoindevkit/bdk-ffi/releases/tag/v2.3.0 as well as our changelog at https://github.com/bitcoindevkit/bdk-ffi/blob/master/CHANGELOG.md for release details. +For details on this release, see the bdk-ffi repository and [our release notes for the 3.0.0 release](https://github.com/bitcoindevkit/bdk-ffi/releases/tag/v3.0.0) as well as our [Changelog](https://github.com/bitcoindevkit/bdk-ffi/blob/master/CHANGELOG.md). ``` - [ ] Push the tag to GitHub, and let the CI run all tests one more time. diff --git a/.github/workflows/test-python.yaml b/.github/workflows/test-python.yaml index 4e19bb5..3e99057 100644 --- a/.github/workflows/test-python.yaml +++ b/.github/workflows/test-python.yaml @@ -1,6 +1,9 @@ name: Test Python on: pull_request: + push: + tags: + - 'v*' workflow_dispatch: permissions: {} diff --git a/justfile b/justfile index b4a1559..7ffe65d 100644 --- a/justfile +++ b/justfile @@ -11,10 +11,23 @@ repo: [group("Build")] [doc("Remove all caches and previous builds to start from scratch.")] clean: - rm -rf ../bdk-ffi/target/ - rm -rf ./bdkpython.egg-info/ + # Rust build artifacts (inside the bdk-ffi submodule) + rm -rf ./bdk-ffi/bdk-ffi/target/ + # UniFFI-generated bindings and the copied native library + rm -rf ./src/bdkpython/bdk.py + rm -rf ./src/bdkpython/libbdkffi.* + # Python build artifacts rm -rf ./build/ rm -rf ./dist/ + rm -rf ./src/bdkpython.egg-info/ + # Caches + rm -rf ./src/bdkpython/__pycache__/ + rm -rf ./tests/__pycache__/ + rm -rf ./.pytest_cache/ + rm -rf ./.ruff_cache/ + # Generated API documentation + rm -rf ./docs/source/api.rst + rm -rf ./docs/_build/ [group("Build")] [doc("Build the wheel using pyproject.toml (modern build system).")] diff --git a/pyproject.toml b/pyproject.toml index 8a54761..2ae96ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "bdkpython" -version = "3.0.0a0" +version = "3.2.0a0" description = "The Python language bindings for the Bitcoin Development Kit" readme = "README.md" requires-python = ">=3.10"