Skip to content

Commit

Permalink
fix setting the application version
Browse files Browse the repository at this point in the history
  • Loading branch information
rgl committed Mar 16, 2024
1 parent f947fbb commit 637b033
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ QUOTES_AUTHOR_NAME="$(perl -ne 'print $1 if /\<Company\>(.+)\<\/Company\>/' <quo
QUOTES_VENDOR="$QUOTES_AUTHOR_NAME"

function set-metadata {
sed -i -E "s,(\<Version\>).+(\</Version\>),\1$QUOTES_VERSION\2,g" quotes/Quotes.csproj
QUOTES_VERSION="$QUOTES_VERSION" \
perl -i -pe 's,(<Version>)[^<]+(</Version>),$1$ENV{QUOTES_VERSION}$2,g' quotes/Quotes.csproj
}

function build {
Expand Down

0 comments on commit 637b033

Please sign in to comment.