From b017a959610ff63b33d4814d0d14b7b0eb85d480 Mon Sep 17 00:00:00 2001 From: Lauri Junkkari Date: Thu, 8 Jul 2021 13:15:50 +0300 Subject: [PATCH] Bump version numbers, add version to main --- .gitignore | 3 +++ README.md | 2 +- api/openapi.yaml | 2 +- main.go | 4 +++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 09d090e2..b27f72c9 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,6 @@ __debug_bin .vscode tmp/ + +# Built binary +main diff --git a/README.md b/README.md index 8cc0e7f9..989460f8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Flow Wallet API v0.3.1 +# Flow Wallet API v0.4.0 A custodial wallet service for tokens on the Flow blockchain. diff --git a/api/openapi.yaml b/api/openapi.yaml index 6dce4511..2507fa48 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -2,7 +2,7 @@ openapi: 3.1.0 info: title: Flow Wallet API - version: 0.3.1 + version: 0.4.0 servers: - url: http://localhost:3000/v1 diff --git a/main.go b/main.go index 0a553733..645226e3 100644 --- a/main.go +++ b/main.go @@ -29,6 +29,8 @@ import ( "google.golang.org/grpc" ) +const version = "0.4.0" + var ( sha1ver string // sha1 revision used to build the program buildTime string // when the executable was built @@ -63,7 +65,7 @@ func main() { flag.Parse() if flgVersion { - fmt.Printf("Build on %s from sha1 %s\n", buildTime, sha1ver) + fmt.Printf("v%s build on %s from sha1 %s\n", version, buildTime, sha1ver) os.Exit(0) }