Skip to content

Commit b598e7a

Browse files
committed
Fixed bug in version numbering from within travis.yml
1 parent f206ca9 commit b598e7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ cache:
99
- "$HOME/.gradle/caches/"
1010
- "$HOME/.gradle/wrapper/"
1111
before_deploy:
12-
- export TAG=$(git tag --point-at=$(git rev-parse HEAD))
12+
- export TAG=$(git describe --abbrev=0 --tags)
1313
- export MOD_TAG=${TAG#"v"}
14-
- export RELEASE_PKG_FILE="${ls builds/lib/krigings-${MOD_TAG}.jar}"
14+
- export RELEASE_PKG_FILE="$(ls build/libs/krigings-${MOD_TAG}.jar)"
1515
deploy:
1616
provider: releases
1717
api_key:

0 commit comments

Comments
 (0)