Skip to content

Commit

Permalink
Merge #1067: lib: drop the rc1 suffix
Browse files Browse the repository at this point in the history
457929e lib: drop the rc1 suffix (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK 457929e

Tree-SHA512: 7b8128eb2d2b559f3d21ad71768b4da44423b3b957edbd88800a2162c1e711f37494b3871de5cb3910631f02bb8960d09bfcced71ebdddba898687221bf2aa82
  • Loading branch information
darosior committed Apr 1, 2024
2 parents 5ec596a + 457929e commit 9772c9e
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:-"5.0rc1"}"
VERSION="${VERSION:-"5.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"] == "5.0.0-rc1"
assert res["version"] == "5.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 9772c9e

Please sign in to comment.