Skip to content

Commit

Permalink
fix(angular): changed prod to production
Browse files Browse the repository at this point in the history
  • Loading branch information
Sören Giller committed Aug 27, 2018
1 parent c8a88ac commit 656fb93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[ -n "$SOURCE_BRANCH" ] || SOURCE_BRANCH=$(git symbolic-ref -q --short HEAD)

if [[ $SOURCE_BRANCH = "prod" ]] || [[ $SOURCE_BRANCH == *.*.* ]] ; then
ANGULAR_MODE="prod"
ANGULAR_MODE="production"
else
ANGULAR_MODE="stage"
fi

0 comments on commit 656fb93

Please sign in to comment.