Skip to content

Commit

Permalink
Merge #76: Release tracking PR: v0.100.0+0.20.2
Browse files Browse the repository at this point in the history
edf3497 Change the crate version format (Tobin C. Harding)

Pull request description:

  Currently we use a version string of the form `0.20.2-0.6.1`

  While attempting to release of the `0.6` we found out that cargo pulls down this version if a crate depends transitively on `0.20.2-0.5.0` - this implies that we should not have made breaking changes in the release, which we did.

  We have since yanked both the `0.6` releases.

  In order to function correctly with `cargo` change the format to put the crate version first and put the Core version second, note we use `+` (build) instead of `-` (pre-release). This should make `crates.io` display the latest version correctly also.

ACKs for top commit:
  apoelstra:
    ACK edf3497
  Kixunil:
    ACK edf3497

Tree-SHA512: 7a97fa4c2efaace3763d9b98271861f6c8a8b6f4e4a6ac53dac606a2167d18f9fe9ab795119585540ad54b9aa27e166796cbc0f35e6c9c561d056ab4449d23d3
  • Loading branch information
apoelstra committed Dec 14, 2023
2 parents 3190aa6 + edf3497 commit f6a4db5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.100.0+0.20.2

- Change the crate version format [#76](https://github.com/rust-bitcoin/rust-bitcoinconsensus/pull/76)

## v0.20.2-0.6.1

- Add derives on error type [#72](https://github.com/rust-bitcoin/rust-bitcoinconsensus/pull/72)
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bitcoinconsensus"
# The first part is the Bitcoin Core version, the second part is the version of this lib.
version = "0.20.2-0.6.1"
# The first part is the crate version, the second informational part is the Bitcoin Core version.
version = "0.100.0+0.20.2"
authors = ["Tamas Blummer <tamas.blummer@gmail.com>"]
license = "Apache-2.0"
homepage = "https://github.com/rust-bitcoin/rust-bitcoinconsensus/"
Expand Down

0 comments on commit f6a4db5

Please sign in to comment.