From b88b02ace318d70a76afbe541f82d78095e6050d Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 4 Jun 2020 01:34:50 +0300 Subject: [PATCH] Add missing v to version command output --- commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.go b/commands.go index 93b619a..36d792a 100644 --- a/commands.go +++ b/commands.go @@ -181,7 +181,7 @@ const cmdVersionHelp = `version - View the bridge version` func (handler *CommandHandler) CommandVersion(ce *CommandEvent) { version := fmt.Sprintf("v%s.unknown", Version) if Tag == Version { - version = fmt.Sprintf("[v%s](%s/releases/%s) (%s)", Version, URL, Tag, BuildTime) + version = fmt.Sprintf("[v%s](%s/releases/v%s) (%s)", Version, URL, Tag, BuildTime) } else if len(Commit) > 8 { version = fmt.Sprintf("v%s.[%s](%s/commit/%s) (%s)", Version, Commit[:8], URL, Commit, BuildTime) }