Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/ISSUE_TEMPLATE/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-python.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Test Python
on:
pull_request:
push:
tags:
- 'v*'
workflow_dispatch:

permissions: {}
Expand Down
17 changes: 15 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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).")]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading