diff --git a/github-build.sh b/github-build.sh index 335b8f95..2f083bdd 100644 --- a/github-build.sh +++ b/github-build.sh @@ -2,7 +2,7 @@ set -ev getVersion() { - ./gradlew properties -q | grep "version:" | grep -v "kotlin_version:" | awk '{print $2}' | tr -d '[:space:]' + ./gradlew properties -q | grep -E "^version" | awk '{print $2}' | tr -d '[:space:]' } removeSnapshots() {