@cryptotaxi247 / netdata-1 / commits / eede89502

netdata/packaging: [ci skip] Emergent fix - Make sure you pick up latest branch details for the whole docker process

Pavlos Emm. Katsoulakis committed Jul 8, 2019 at 14:53 UTC eede8950253f7e184dba397405ff0d6673d8878f
2 files changed +1 -4
.travis.yml
+1
@@ -550,6 +550,7 @@ jobs:
550 - echo "GIT Describe:" && git describe
551 - echo "packaging/version:" && cat packaging/version
552 - packaging/docker/check_login.sh
553 + - echo "Switching to latest master branch, to pick up tagging if any" && git checkout master && git pull
554 - packaging/docker/build.sh
555 - packaging/docker/publish.sh
556 after_failure: post_message "TRAVIS_MESSAGE" "<!here> Docker image publishing failed"
packaging/docker/publish.sh
-4
@@ -39,10 +39,6 @@ if [ ! -z ${DEVEL+x} ]; then
39 declare -a ARCHS=(${DEVEL_ARCHS[@]})
40 fi
41
42 -echo "Syncing repository with latest changes (We may have updated with package versions)"
43 -git checkout master
44 -git pull
45 -
42 # Ensure there is a version, the most appropriate one
43 if [ "${VERSION}" == "" ]; then
44 VERSION=$(git tag --points-at)