Skip to content

Commit

Permalink
android: Make RELEASE_TYPE required
Browse files Browse the repository at this point in the history
  • Loading branch information
luk1337 committed Sep 1, 2024
1 parent aef729c commit bdba25d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ if [ -z "$TYPE" ]; then
export TYPE=userdebug
fi

if [ -z "$RELEASE_TYPE" ]; then
echo "RELEASE_TYPE environment variable required"
exit 1
fi

OFFSET="10000000"
export BUILD_NUMBER=$(($OFFSET + $BUILDKITE_BUILD_NUMBER))

Expand Down

0 comments on commit bdba25d

Please sign in to comment.