Explorar el Código

remove redundant tag from travis version gen

Umputun hace 5 años
padre
commit
9517bc7c08
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -36,7 +36,7 @@ RUN if [ -z "$COVERALLS_TOKEN" ] ; then \
 RUN \
     if [ -z "$TRAVIS" ] ; then \
     echo "runs outside of travis" && version=$(/script/git-rev.sh); \
-    else version=${TRAVIS_TAG}${TRAVIS_BRANCH}-${TRAVIS_BUILD_NUMBER}-${TRAVIS_COMMIT:0:7}-$(date +%Y%m%dT%H:%M:%S); fi && \
+    else version=${TRAVIS_BRANCH}-${TRAVIS_BUILD_NUMBER}-${TRAVIS_COMMIT:0:7}-$(date +%Y%m%dT%H:%M:%S); fi && \
     echo "version=$version" && \
     go build -o rss2twitter -ldflags "-X main.revision=${version} -s -w" ./app