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)