Skip to content

Commit

Permalink
Merge #1177: 6.x: Bump version to 6.0
Browse files Browse the repository at this point in the history
2d2231b Bump version to 6.0 (Antoine Poinsot)

Pull request description:

  This drops the rc1 suffix for release.

ACKs for top commit:
  darosior:
    self-ACK 2d2231b

Tree-SHA512: ec7342db99d3f51f39b64d1e560090fc6d47fc26e73f4855c1a7a08da7ad6e4637096aff1e5ab86bedd4fcedf8517b6d59bef64d0301a23dae66811ff173a184
  • Loading branch information
darosior committed Jul 8, 2024
2 parents 0aad8a5 + 2d2231b commit ec33c07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

set -ex

VERSION="${VERSION:-"6.0rc1"}"
VERSION="${VERSION:-"6.0"}"
LIANA_PREFIX="liana-$VERSION"
LINUX_DIR_NAME="$LIANA_PREFIX-x86_64-linux-gnu"
LINUX_ARCHIVE="$LINUX_DIR_NAME.tar.gz"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub struct Version {

impl fmt::Display for Version {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "{}.{}.{}-rc1", self.major, self.minor, self.patch)
write!(f, "{}.{}.{}", self.major, self.minor, self.patch)
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/test_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
def test_getinfo(lianad):
res = lianad.rpc.getinfo()
assert "timestamp" in res.keys()
assert res["version"] == "6.0.0-rc1"
assert res["version"] == "6.0.0"
assert res["network"] == "regtest"
wait_for(lambda: lianad.rpc.getinfo()["block_height"] == 101)
res = lianad.rpc.getinfo()
Expand Down

0 comments on commit ec33c07

Please sign in to comment.