diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-06-04 17:40:56 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-06-04 19:01:11 +0200 |
commit | 67e258a7a2217300a43c8aa0636bfe4d4aef6bdb (patch) | |
tree | b6b732b7cffa05d33f9622f5e56dba7409bb705c /Makefile | |
parent | 715850857759d49dbb7d9ffb93acb9435a8b3136 (diff) |
[feat] add version string
The binary now has a --version that is extracted from the git
tags/commits.
- Resolves: #39
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,8 +2,8 @@ all: icon locales build -build: icon catalog.go - go build +build: + go build -ldflags "-X main.version=`git describe --tags`" clean: make -C icon clean |