mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-22 00:14:38 +00:00
fix tag increment
This commit is contained in:
parent
ea134be36a
commit
fe47b36065
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ NEFM=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -Ev '^(keyboards/
|
|||
if [[ $NEFM -gt 0 ]] ; then
|
||||
echo "Essential files modified."
|
||||
git fetch --tags
|
||||
lasttag=$(git tag | grep -Ev '\-' | xargs -I@ git log --format=format:"%ai @%n" -1 @ | sort -V | awk '{print $4}' | tail -1)
|
||||
#lasttag=$(git describe --tags $(git rev-list --tags --max-count=10) | grep -Ev '\-' | xargs -I@ git log --format=format:"%ai @%n" -1 @ | sort -V | awk '{print $4}' | tail -1)
|
||||
lasttag=$(git describe --tags $(git rev-list --tags --max-count=10) | grep -Ev '\-' | sort -V | tail -1)
|
||||
newtag=$(increment_version $lasttag)
|
||||
git tag $newtag
|
||||
git push --tags git@github.com:qmk/qmk_firmware.git
|
||||
|
|
Loading…
Reference in a new issue