Skip to content

Commit

Permalink
snapcraft: fix the fetching of the most recent tag version
Browse files Browse the repository at this point in the history
Signed-off-by: Colin Ian King <[email protected]>
  • Loading branch information
Colin Ian King authored and yonghong-song committed Jun 25, 2019
1 parent 93e2e2c commit b1cc550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapcraft/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#
# Simple makefile to mangle version info in the yaml file
#
VERSION=$(shell git tag | tail -1 | cut -c2-)
VERSION=$(shell git tag | sort -V | tail -1 | cut -c2-)
COMMITS=$(shell git log --oneline | wc -l)
SHA=$(shell git log -1 --oneline | cut -d' ' -f1)
DATE=$(shell date +'%Y%m%d')
Expand Down

0 comments on commit b1cc550

Please sign in to comment.