Skip to content

Commit

Permalink
Fix build script
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Scholz <www@scholzj.com>
  • Loading branch information
scholzj committed Oct 12, 2020
1 parent 54e9ee2 commit e644e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azure/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fi
# Push artifatcs (Docker containers, JARs, docs)
if [ "$BUILD_REASON" == "PullRequest" ] ; then
echo "Building Pull Request - nothing to push"
elif [[ "$BRANCH" != "refs/tags/*" ]] && [ "$BRANCH" != "refs/heads/master" ]; then
elif [[ "$BRANCH" != "refs/tags/"* ]] && [ "$BRANCH" != "refs/heads/master" ]; then
echo "Not in master branch and not in release tag - nothing to push"
else
if [ "${MAIN_BUILD}" == "TRUE" ] ; then
Expand Down

0 comments on commit e644e4a

Please sign in to comment.