From 75919cf779c2bcf83c2a721e6d9a62abc7102bb6 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 20 Aug 2022 15:54:58 -0700 Subject: [PATCH] Use correct Branch variable in builds --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 8012da492..6593177d9 100755 --- a/build.sh +++ b/build.sh @@ -24,7 +24,7 @@ UpdateVersionNumber() if [ "$SONARR_VERSION" != "" ]; then echo "Updating version info to: $SONARR_VERSION" sed -i'' -e "s/[0-9.*]\+<\/AssemblyVersion>/$SONARR_VERSION<\/AssemblyVersion>/g" src/Directory.Build.props - sed -i'' -e "s/[\$()A-Za-z-]\+<\/AssemblyConfiguration>/${BUILD_SOURCEBRANCHNAME}<\/AssemblyConfiguration>/g" src/Directory.Build.props + sed -i'' -e "s/[\$()A-Za-z-]\+<\/AssemblyConfiguration>/${BRANCH}<\/AssemblyConfiguration>/g" src/Directory.Build.props sed -i'' -e "s/10.0.0.0<\/string>/$SONARR_VERSION<\/string>/g" distribution/macOS/Sonarr.app/Contents/Info.plist fi }