Skip to content

Commit

Permalink
Stop subtracting one from the major version number of AzureAppConfig. (
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenMolloy authored Mar 21, 2023
1 parent aa0618a commit ea50da2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tools/MicrosoftConfigurationBuilders.settings.targets
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@
<NuGetPackageBaseDependencyVersion>$(VersionMajor).$(VersionMinor).$(VersionRelease)</NuGetPackageBaseDependencyVersion>
</PropertyGroup>

<!-- Azure App Config is versioned 1 behind everyone else. -->
<PropertyGroup Label="Azure App Config adjustments" Condition="$(MSBuildProjectName.Contains('AzureAppConfig'))">
<VersionMajor>$([MSBuild]::Subtract($(VersionMajor), 1))</VersionMajor>
<NuGetPackageVersion>$(VersionMajor).$(VersionMinor).$(VersionRelease)</NuGetPackageVersion>
<!-- Leave <NuGetPackageBaseDependencyVersion> untouched. -->
</PropertyGroup>

<!-- Add release type for non-RTM releases. -->
<PropertyGroup Label="Prerelease version adjustments" Condition="'$(BuildQuality)' != 'rtm'">
<VersionRelease>$(VersionRelease)-$(BuildQuality)</VersionRelease>
Expand Down

0 comments on commit ea50da2

Please sign in to comment.