diff --git a/build.sh b/build.sh index 4c675586a..95fa27c44 100755 --- a/build.sh +++ b/build.sh @@ -47,6 +47,7 @@ UpdateVersionNumber() BUILD_NUMBER=$verMajorMinorRevision.$verBuild echo "##teamcity[buildNumber '$BUILD_NUMBER']" sed -i "s/[0-9.*]\+<\/AssemblyVersion>/$BUILD_NUMBER<\/AssemblyVersion>/g" ./src/Directory.Build.props + sed -i "s/[\$()A-Za-z-]\+<\/AssemblyConfiguration>/${BRANCH:-dev}<\/AssemblyConfiguration>/g" ./src/Directory.Build.props fi } diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 11063a6f8..3a33daa76 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -48,16 +48,24 @@ Sonarr sonarr.tv - Copyright 2014-$([System.DateTime]::Now.ToString('yyyy')) sonarr.tv (GNU General Public v3) + Copyright 2010-$([System.DateTime]::Now.ToString('yyyy')) sonarr.tv (GNU General Public v3) 10.0.0.* + $(Configuration)-dev false false + false False + + + + <_Parameter1>$(AssemblyConfiguration) + +