Skip to content

Commit

Permalink
Fix bug with build script
Browse files Browse the repository at this point in the history
It was expecting an alphabetical key instead of an alphanumeric one.
  • Loading branch information
Gudahtt committed Mar 23, 2020
1 parent ef92a98 commit e16061c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ checkAuthToken() {

if [ -n "${MM_SENTRY_AUTH_TOKEN}" ]; then
sed -i'' -e "s/auth.token.*/auth.token=${MM_SENTRY_AUTH_TOKEN}/" "./${propertiesFileName}";
elif ! grep -qE '^auth.token=[[:alpha:]]+$' "./${propertiesFileName}"; then
elif ! grep -qE '^auth.token=[[:alnum:]]+$' "./${propertiesFileName}"; then
printError "Missing auth token in '${propertiesFileName}'; add the token, or set it as MM_SENTRY_AUTH_TOKEN"
exit 1
fi
Expand Down

0 comments on commit e16061c

Please sign in to comment.