Skip to content

Commit

Permalink
fix(settings): fixed dockerhub settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Sören Giller committed Jul 20, 2018
1 parent 2842cc4 commit f4c1d66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hooks/env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SOURCE_BRANCH=$(git symbolic-ref -q --short HEAD)
[ -n "$SOURCE_BRANCH" ] || SOURCE_BRANCH=$(git symbolic-ref -q --short HEAD)

if $(git describe --exact-match --tags HEAD) "$ret" -eq 0 || [ $SOURCE_BRANCH = "master" ]; then
ANGULAR_MODE="prod"
else
ANGULAR_MODE="stage"
fi
fi

0 comments on commit f4c1d66

Please sign in to comment.