From 637b033cefcf32a3ffc650fc8ed9605957f1028c Mon Sep 17 00:00:00 2001 From: Rui Lopes Date: Sat, 16 Mar 2024 19:34:40 +0000 Subject: [PATCH] fix setting the application version --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index e0cf168..562a401 100755 --- a/build.sh +++ b/build.sh @@ -17,7 +17,8 @@ QUOTES_AUTHOR_NAME="$(perl -ne 'print $1 if /\(.+)\<\/Company\>/' ).+(\),\1$QUOTES_VERSION\2,g" quotes/Quotes.csproj + QUOTES_VERSION="$QUOTES_VERSION" \ + perl -i -pe 's,()[^<]+(),$1$ENV{QUOTES_VERSION}$2,g' quotes/Quotes.csproj } function build {