Skip to content

Commit

Permalink
Fix push to docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
cscatolini committed Jan 20, 2017
1 parent 68f6c75 commit 14980e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion push_to_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [ "$TRAVIS_BRANCH" != "master" ]; then
exit 0
fi

if [ "$LIBRDKAFKA_VERSION" -ne "master" ]; then
if [ "$LIBRDKAFKA_VERSION" == "master" ]; then
VERSION=$(cat ./pusher/version.go | grep "var Version" | awk ' { print $4 } ' | sed s/\"//g)

docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
Expand Down

0 comments on commit 14980e4

Please sign in to comment.