Skip to content

Commit

Permalink
Strip a leading 'v' from the git tag when generating the version number
Browse files Browse the repository at this point in the history
  • Loading branch information
brain0 committed Dec 15, 2013
1 parent ee04cff commit a22a830
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,6 +1,6 @@
# Makefile for mkinitcpio

VERSION = $(shell if test -f VERSION; then cat VERSION; else git describe | sed 's/-/./g'; fi)
VERSION = $(shell if test -f VERSION; then cat VERSION; else git describe | sed 's/-/./g;s/^v//;'; fi)

DIRS = \
/usr/bin \
Expand Down

0 comments on commit a22a830

Please sign in to comment.