From 4d079b51cc7d8dfca3c4a03cb8fd4822b6fc3813 Mon Sep 17 00:00:00 2001 From: lyaaz <45838887+lyaaz@users.noreply.github.com> Date: Sat, 7 Dec 2024 16:21:57 +0800 Subject: [PATCH] chore: update versionName --- app/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 6a9aaa5..728a63a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -24,7 +24,7 @@ android { minSdk = 26 targetSdk = 35 versionCode = "git rev-list HEAD --count".execute().toInt() - versionName = "git describe --tag".execute() + versionName = "git describe --tag --match \"v*\"".execute().removePrefix("v") resourceConfigurations += "en" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true