From 85562dd9959bc1d4f2974b13d15065f731ac389f Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Wed, 10 Aug 2022 12:39:53 +0200 Subject: [PATCH] increment_version.sh: Update sm template variant for betas Change-Id: Ifdce2c629aff4de7d1c6225ad4f155ccb4e94d2d --- increment_version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/increment_version.sh b/increment_version.sh index 32b4639a6d..49dbbb4f78 100755 --- a/increment_version.sh +++ b/increment_version.sh @@ -106,8 +106,8 @@ if [ "$release_type" = "test" ]; then else versionCode=$((previousVersionCode + 10)) # Ensure the new version code is higher than the one of the last test version - if [ -f "$HOME/fdroid/sm/data/metadata/de.spiritcroc.riotx.a.yml" ]; then - lastTestVersionCode="$(cat "$HOME/fdroid/sm/data/metadata/de.spiritcroc.riotx.a.yml"|grep versionCode|tail -n 1|sed 's|.*: ||')" + if [ -f "$HOME/fdroid/sm/data/metadata/de.spiritcroc.riotx.x.yml" ]; then + lastTestVersionCode="$(cat "$HOME/fdroid/sm/data/metadata/de.spiritcroc.riotx.x.yml"|grep versionCode|tail -n 1|sed 's|.*: ||')" else read -p "Enter versionCode of last test version: " lastTestVersionCode fi