From ac09e79a813fc2ecbfa3a01a1f7a828295bf3e88 Mon Sep 17 00:00:00 2001 From: Michiel Oliemans Date: Thu, 8 Oct 2020 08:19:14 +0200 Subject: [PATCH] Fix automatic version parsing --- github-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {