From c6bcfc00680e5f1c745ca56704de9b95ef684460 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 12 Mar 2023 22:49:34 +0600 Subject: [PATCH] upgrade version retieving from gradle.properties --- runner/deploy.sh | 2 +- runner/nonsudo_deploy.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runner/deploy.sh b/runner/deploy.sh index c99bb32..0c68c50 100755 --- a/runner/deploy.sh +++ b/runner/deploy.sh @@ -14,7 +14,7 @@ function assert_success() { } app=plaguposter -version="`grep ../gradle.properties -e "^version=" | grep -e "[0-9.]*" -o`" +version="`grep ../gradle.properties -e "^version=" | sed -e "s/version=\(.*\)/\1/"`" server=docker.io/insanusmokrassar assert_success ../gradlew build diff --git a/runner/nonsudo_deploy.sh b/runner/nonsudo_deploy.sh index e97a37a..472afd0 100755 --- a/runner/nonsudo_deploy.sh +++ b/runner/nonsudo_deploy.sh @@ -14,7 +14,7 @@ function assert_success() { } app=plaguposter -version="`grep ../gradle.properties -e "^version=" | grep -e "[0-9.]*" -o`" +version="`grep ../gradle.properties -e "^version=" | sed -e "s/version=\(.*\)/\1/"`" server=insanusmokrassar assert_success ../gradlew build