mirror of
https://github.com/AllanWang/Frost-for-Facebook.git
synced 2024-11-12 22:12:36 +01:00
Update getenv check for github actions
This commit is contained in:
parent
b5ff791aa9
commit
36e73b2105
@ -40,7 +40,7 @@ android {
|
|||||||
versionName '3.1.0'
|
versionName '3.1.0'
|
||||||
// versionName androidGitVersion.name()
|
// versionName androidGitVersion.name()
|
||||||
|
|
||||||
if (System.getenv('TRAVIS') != 'true') {
|
if (System.getenv('CI') != 'true') {
|
||||||
// Verification for F-Droid builds
|
// Verification for F-Droid builds
|
||||||
if (versionCode != androidGitVersion.code()) {
|
if (versionCode != androidGitVersion.code()) {
|
||||||
throw new GradleException("Version code mismatch, expected ${androidGitVersion.code()}, got $versionCode")
|
throw new GradleException("Version code mismatch, expected ${androidGitVersion.code()}, got $versionCode")
|
||||||
|
Loading…
Reference in New Issue
Block a user