mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-13 14:51:51 -04:00
Update build.gradle
This commit is contained in:
parent
5e8ac85567
commit
ef97707605
@ -2,7 +2,13 @@ apply plugin: 'com.android.application'
|
||||
|
||||
def getDate() { return new Date().format('yyyyMMdd')}
|
||||
|
||||
def getDateSeconds() { return new Date().format('yMMddHHss')}
|
||||
def getDateSeconds() {
|
||||
if(System.getenv("GITHUB_ACTIONS").equals("true")) {
|
||||
return "$(9934841+Integer.parseInt(System.getenv("GITHUB_RUN_NUMBER")))"
|
||||
}else{
|
||||
return "172005"
|
||||
}
|
||||
}
|
||||
|
||||
def getVersionName = {
|
||||
// Get the last version tag, as well as the short head of the last commit
|
||||
|
Loading…
x
Reference in New Issue
Block a user