mirror of
https://github.com/netdata/netdata.git
synced 2025-04-24 21:24:12 +00:00
netdata/packaging: [ci skip] Emergent fix - Make sure you pick up latest branch details for the whole docker process
This commit is contained in:
parent
2c41468320
commit
eede895025
2 changed files with 1 additions and 4 deletions
|
@ -550,6 +550,7 @@ jobs:
|
|||
- echo "GIT Describe:" && git describe
|
||||
- echo "packaging/version:" && cat packaging/version
|
||||
- packaging/docker/check_login.sh
|
||||
- echo "Switching to latest master branch, to pick up tagging if any" && git checkout master && git pull
|
||||
- packaging/docker/build.sh
|
||||
- packaging/docker/publish.sh
|
||||
after_failure: post_message "TRAVIS_MESSAGE" "<!here> Docker image publishing failed"
|
||||
|
|
|
@ -39,10 +39,6 @@ if [ ! -z ${DEVEL+x} ]; then
|
|||
declare -a ARCHS=(${DEVEL_ARCHS[@]})
|
||||
fi
|
||||
|
||||
echo "Syncing repository with latest changes (We may have updated with package versions)"
|
||||
git checkout master
|
||||
git pull
|
||||
|
||||
# Ensure there is a version, the most appropriate one
|
||||
if [ "${VERSION}" == "" ]; then
|
||||
VERSION=$(git tag --points-at)
|
||||
|
|
Loading…
Add table
Reference in a new issue