From 4811cc2f7fda257c8250334834139578f56a05ec Mon Sep 17 00:00:00 2001 From: Courville Software Date: Sun, 29 Oct 2023 14:41:51 +0100 Subject: [PATCH] need to realign versionName since myVersionName is no more See https://github.com/nova-video-player/aos-AVP/issues/820 --- release/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/release.sh b/release/release.sh index 5e6178c..d9c5a10 100755 --- a/release/release.sh +++ b/release/release.sh @@ -1,7 +1,7 @@ #!/bin/bash #version=$1 -version=$(grep " myVersionName = '" ../../Video/build.gradle | sed "s/^.*myVersionName = '\([0-9\.]*\)'.*$/\1/g") +version=$(grep " versionName = '" ../../Video/build.gradle | sed "s/^.*versionName = '\([0-9\.]*\)'.*$/\1/g") major=$(echo $version | cut -d. -f1) minor=$(echo $version | cut -d. -f2) patch=$(echo $version | cut -d. -f3)