Fail signed release builds if unstaged changes exist
This commit is contained in:
parent
f2fdd048c7
commit
1f7bdbfbcb
2 changed files with 9 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ if [ "$BUILD_CONFIG" != "Debug" ] && [ "$BUILD_CONFIG" != "Release" ]; then
|
|||
fail "Invalid build configuration"
|
||||
fi
|
||||
|
||||
[ "$SIGNING_KEY" == "" ] || git diff-index --quiet HEAD -- || fail "Signed release builds must not have unstaged changes!"
|
||||
|
||||
BUILD_ROOT=$PWD/build
|
||||
SOURCE_ROOT=$PWD
|
||||
BUILD_FOLDER=$BUILD_ROOT/build-$BUILD_CONFIG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue