1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-09 20:42:34 +01:00

Update getenv check for github actions

This commit is contained in:
Allan Wang 2021-09-13 21:59:32 -07:00
parent b5ff791aa9
commit 36e73b2105
No known key found for this signature in database
GPG Key ID: 69D90B885D405BDB

View File

@ -40,7 +40,7 @@ android {
versionName '3.1.0'
// versionName androidGitVersion.name()
if (System.getenv('TRAVIS') != 'true') {
if (System.getenv('CI') != 'true') {
// Verification for F-Droid builds
if (versionCode != androidGitVersion.code()) {
throw new GradleException("Version code mismatch, expected ${androidGitVersion.code()}, got $versionCode")