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 :xwebsite
parent
83af835790
commit
41e76fd2ea
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue