Skip to content

Commit 28c98dd

Browse files
committed
Try to fetch tags for versioning, mk. 3
1 parent 4caf6aa commit 28c98dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ before_install:
1414
before_script:
1515
# populate tags
1616
- git fetch origin
17+
- git rev-list --tags --skip=1 --max-count=1
18+
- git describe --tags $(git rev-list --tags --skip=1 --max-count=1) --abbrev=0
1719

1820
script:
1921
- ./tests/tests-ci.sh

0 commit comments

Comments
 (0)