Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26b6e353 authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

fix (update): add date to versionNameSuffix (#8164)

parent a044a18c
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -12,6 +12,10 @@ plugins {
    id 'kotlin-parcelize'
}

def buildDate = { ->
    return new Date().format('yyyyMMddHHmmss')
}

// Android configuration
android {
    compileSdk 34
@@ -63,7 +67,7 @@ android {
    productFlavors {
        ose {
            dimension "distribution"
            versionNameSuffix "-ose"
            versionNameSuffix "-ose+${buildDate()}"
        }
    }