1
0
Fork 0

curver comment tag will now ignore all but version tags

- Was having a problem with the CI system tags showing up as the recent version :x
website
Mike Gerwitz 2012-05-06 00:02:48 -04:00
parent 83af835790
commit 41e76fd2ea
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 5 additions and 1 deletions

View File

@ -18,7 +18,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
##
curver="$( git tag -l | tail -n1 )"
# grab most recent version tag
curver="$( git tag -l \
| grep '^[0-9]\+.[0-9]\+.[0-9]\+$' \
| tail -n1
)"
# TODO: Both sed and gawk are unnecessary; it was just the most convenient
# solution