From f2ee1d3ce86155780abef419232ee3e880334fa2 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Wed, 31 May 2023 11:07:17 +0200 Subject: [PATCH] README+root: bump install link to latest version --- README.md | 2 +- cmd/chantools/root.go | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cdda83d..1df53fb 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Example (make sure you always use the latest version!): ```shell $ cd /tmp -$ wget -O chantools.tar.gz https://github.com/lightninglabs/chantools/releases/download/v0.10.7/chantools-linux-amd64-v0.10.7.tar.gz +$ wget -O chantools.tar.gz https://github.com/lightninglabs/chantools/releases/download/v0.11.2/chantools-linux-amd64-v0.11.2.tar.gz $ tar -zxvf chantools.tar.gz $ sudo mv chantools-*/chantools /usr/local/bin/ ``` diff --git a/cmd/chantools/root.go b/cmd/chantools/root.go index 75553aa..e94f103 100644 --- a/cmd/chantools/root.go +++ b/cmd/chantools/root.go @@ -27,8 +27,12 @@ import ( const ( defaultAPIURL = "https://blockstream.info/api" - version = "0.11.3" - na = "n/a" + + // version is the current version of the tool. It is set during build. + // NOTE: When changing this, please also update the version in the + // download link shown in the README. + version = "0.11.3" + na = "n/a" Commit = "" )