Skip to content

Commit

Permalink
bin/version.sh: echo tag prefix
Browse files Browse the repository at this point in the history
As suggested by @stevengj
  • Loading branch information
StefanKarpinski committed Aug 13, 2015
1 parent 82d133d commit 74ad54b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/version.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
last_tag=$(git describe --tags --abbrev=0)
echo -n "0.4.0-dev+"
git rev-list $1 ^$last_tag | wc -l | sed -e 's/[^[:digit:]]//g'

0 comments on commit 74ad54b

Please sign in to comment.