From f8a3610fa685992ce25306f1e6e81719027e183c Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Mon, 26 Jan 2026 13:43:34 -0300 Subject: [PATCH] Don't get version name from git tag as full and basic are out of sync and this would give full the version name of basic --- legacy/build.gradle | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/legacy/build.gradle b/legacy/build.gradle index 415b0444b..46fdd0a4c 100644 --- a/legacy/build.gradle +++ b/legacy/build.gradle @@ -12,16 +12,6 @@ if (project.hasProperty('strict.release')) { apply from: '../config/pmd/pmd.gradle' } -/* gets the version name from the latest Git tag */ -def getVersionName = { -> - def stdout = new ByteArrayOutputStream() - exec { - commandLine 'git', 'describe', '--tags', '--always' - standardOutput = stdout - } - return stdout.toString().trim() -} - // yes, this actually needs both quotes https://stackoverflow.com/a/41391841 def privilegedExtensionApplicationId = '"org.fdroid.fdroid.privileged"' @@ -33,7 +23,7 @@ android { defaultConfig { versionCode 1023051 - versionName getVersionName() + versionName "1.23.1" applicationId "org.fdroid" testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'