diff --git a/.goreleaser.yml b/.goreleaser.yml index afcb139..e6aed34 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -6,3 +6,5 @@ builds: - linux goarch: - amd64 + ldflags: + - -X main.version={{.Env.VERSION}} diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d7cb49..918dd25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.0] - 2019-11-17 +### Added +- Keyboard shortcuts to enlarge and shorten chart. + ## [1.3.6] - 2019-09-15 ### Fixed - Fixed various navigation and view switching issues diff --git a/Makefile b/Makefile index ca05144..10f742c 100644 --- a/Makefile +++ b/Makefile @@ -168,4 +168,4 @@ git/repack: release: rm -rf dist - goreleaser + VERSION=$(VERSION) goreleaser diff --git a/cointop/version.go b/cointop/version.go index e6cbeaa..a62d6c3 100644 --- a/cointop/version.go +++ b/cointop/version.go @@ -5,8 +5,8 @@ import ( "os" ) -// TODO: make dynamic based on git tag -const version = "1.3.6" +// version is the cointop version which will be populated by ldflags +var version string // Version returns the cointop version func (ct *Cointop) Version() string {