[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/fenix][tor-browser-86.0.0b2-10.5-1] squash! Modify build system



Title: GitLab

Matthew Finkel pushed to branch tor-browser-86.0.0b2-10.5-1 at The Tor Project / Applications / fenix

Commits:

1 changed file:

Changes:

  • buildSrc/src/main/java/Config.kt
    ... ... @@ -19,7 +19,12 @@ object Config {
    19 19
     
    
    20 20
         @JvmStatic
    
    21 21
         private fun generateDebugVersionName(): String {
    
    22
    -        val today = Date()
    
    22
    +        val today = if (System.getenv("MOZ_BUILD_DATE") != null) {
    
    23
    +            val format = SimpleDateFormat("yyyyMMddHHmmss", Locale.US)
    
    24
    +            format.parse(System.getenv("MOZ_BUILD_DATE"))
    
    25
    +        } else {
    
    26
    +            Date()
    
    27
    +        }
    
    23 28
             // Append the year (2 digits) and week in year (2 digits). This will make it easier to distinguish versions and
    
    24 29
             // identify ancient versions when debugging issues. However this will still keep the same version number during
    
    25 30
             // the week so that we do not end up with a lot of versions in tools like Sentry. As an extra this matches the
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits