From 806ddeba3d22e3ae05a80831fdcadacd3d6b20c9 Mon Sep 17 00:00:00 2001 From: Daniel Kang Date: Wed, 30 Jan 2019 01:31:41 -0800 Subject: [PATCH] fix CLI version command --- .goreleaser.yml | 3 +++ cmd/tengo/main.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 57abb89..283c13c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -6,6 +6,9 @@ builds: - darwin - linux - windows +archive: + files: + - none* checksum: name_template: 'checksums.txt' changelog: diff --git a/cmd/tengo/main.go b/cmd/tengo/main.go index 1132a0e..f9d19b5 100644 --- a/cmd/tengo/main.go +++ b/cmd/tengo/main.go @@ -22,13 +22,13 @@ import ( const ( sourceFileExt = ".tengo" replPrompt = ">> " - version = "dev" ) var ( compileOutput string showHelp bool showVersion bool + version = "dev" ) func init() {