increment_version.sh: Update sm template variant for betas
Change-Id: Ifdce2c629aff4de7d1c6225ad4f155ccb4e94d2d
This commit is contained in:
parent
ebe5672b8a
commit
85562dd995
|
@ -106,8 +106,8 @@ if [ "$release_type" = "test" ]; then
|
||||||
else
|
else
|
||||||
versionCode=$((previousVersionCode + 10))
|
versionCode=$((previousVersionCode + 10))
|
||||||
# Ensure the new version code is higher than the one of the last test version
|
# 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
|
if [ -f "$HOME/fdroid/sm/data/metadata/de.spiritcroc.riotx.x.yml" ]; then
|
||||||
lastTestVersionCode="$(cat "$HOME/fdroid/sm/data/metadata/de.spiritcroc.riotx.a.yml"|grep versionCode|tail -n 1|sed 's|.*: ||')"
|
lastTestVersionCode="$(cat "$HOME/fdroid/sm/data/metadata/de.spiritcroc.riotx.x.yml"|grep versionCode|tail -n 1|sed 's|.*: ||')"
|
||||||
else
|
else
|
||||||
read -p "Enter versionCode of last test version: " lastTestVersionCode
|
read -p "Enter versionCode of last test version: " lastTestVersionCode
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue