Explorar o código

better tagging cor ci

Johann Woelper %!s(int64=6) %!d(string=hai) anos
pai
achega
a39bfc75f8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml

@@ -17,8 +17,8 @@ os:
 before_deploy:
   - cd $TRAVIS_BUILD_DIR
   - mv target/release/oculante target/release/oculante.$TRAVIS_OS_NAME
-  - git tag "latest"-$TRAVIS_OS_NAME
-  - export TRAVIS_TAG="latest"-$TRAVIS_OS_NAME
+  - git tag $TRAVIS_OS_NAME-$(git log --format=%h -1)
+  - export tag $TRAVIS_OS_NAME-$(git log --format=%h -1)
 deploy:
   provider: releases
   skip_cleanup: true