Skip to content

Commit

Permalink
Get version number from Git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dtan4 committed Feb 22, 2021
1 parent 4c76e4a commit 4c7e20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME := ghrls
VERSION := v0.1.0
VERSION := $(shell git describe --abbrev=0 --tags)
REVISION := $(shell git rev-parse --short HEAD)

SRCS := $(shell find . -type f -name '*.go')
Expand Down

0 comments on commit 4c7e20d

Please sign in to comment.