diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9ed3a29 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,13 @@ +Changelog +========= + +[0.0.2](https://github.com/raphjaph/bip322/releases/tag/0.0.2) - 2024-08-02 +--------------------------------------------------------------------------- + +### Added +- Full Bip322 signatures (#5) +- Add Rust formatting config and README (#6) +- Add justfile (#2) +- Add Github Workflows (#1) +- Compiles and tests pass +- Initial commit diff --git a/Cargo.lock b/Cargo.lock index 018fbe3..7c1eb0a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -22,7 +22,7 @@ checksum = "98f7eed2b2781a6f0b5c903471d48e15f56fb4e1165df8a9a2337fd1a59d45ea" [[package]] name = "bip322" -version = "0.0.1" +version = "0.0.2" dependencies = [ "base64", "bitcoin", diff --git a/Cargo.toml b/Cargo.toml index 0a440d9..0fd39cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bip322" -version = "0.0.1" +version = "0.0.2" edition = "2021" description = "Implements BIP322 generic message signing" license = "CC0-1.0" diff --git a/justfile b/justfile index 87a8b52..9f48a33 100644 --- a/justfile +++ b/justfile @@ -19,3 +19,31 @@ outdated: coverage: cargo llvm-cov + +prepare-release revision='master': + #!/usr/bin/env bash + set -euxo pipefail + git checkout {{ revision }} + git pull origin {{ revision }} + echo >> CHANGELOG.md + git log --pretty='format:- %s' >> CHANGELOG.md + $EDITOR CHANGELOG.md + $EDITOR Cargo.toml + version=`sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/\1/p' Cargo.toml | head -1` + cargo check + git checkout -b release-$version + git add -u + git commit -m "Release $version" + gh pr create --web + +publish-release revision='master': + #!/usr/bin/env bash + set -euxo pipefail + rm -rf tmp/release + git clone https://github.com/raphjaph/bip322.git tmp/release + cd tmp/release + git checkout {{ revision }} + cargo publish + cd ../.. + rm -rf tmp/release +