Commit d8e4ac5e authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Use an unsigned release build for testing whether a branch can build the release build

parent 2e0179ce
......@@ -61,7 +61,7 @@ build_fdroid:
test_build_release:
stage: test
script:
- ./gradlew clean check assembleNormalRelease --stacktrace -x test
- ./gradlew clean check assembleNormalUnsignedRelease --stacktrace -x test
except:
- /^no_ci.*$/
- /^no_build.*$/
......
......@@ -58,6 +58,12 @@ android {
initWith release
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
unsignedRelease {
minifyEnabled true
debuggable false
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
flavorDimensions "version"
productFlavors {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment