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

Commit 4dde5a60 authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

Merge branch '8164-add_date_to_versionName' into 'main'

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

See merge request !130
parents a044a18c 26b6e353
Loading
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()}"
        }
    }