Skip to content

Commit

Permalink
Update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Feb 17, 2019
1 parent 0b70607 commit 84530ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ if [[ ${TRAVIS_PULL_REQUEST} == "true" ]]; then
BRANCH=${TRAVIS_PULL_REQUEST_BRANCH}
fi
DOCKER_TAG=${BRANCH:-local}
if [[ "$BRANCH" == "master" ]]; then
if [[ "$BRANCH" == "local" ]]; then
BUILD_DATE=
else
DOCKER_TAG=latest
VERSION=${VERSION#v}
elif [[ "$BRANCH" == "local" ]]; then
BUILD_DATE=
fi

echo "PROJECT=${PROJECT}"
Expand Down

0 comments on commit 84530ea

Please sign in to comment.