Skip to content

Commit

Permalink
(chocolatey#69) Remove stamp of CCMVersion TeamCity param
Browse files Browse the repository at this point in the history
We don't need to set the CCMVersion because we're able to pull it from
the build.number parameter that is already set.
  • Loading branch information
corbob committed Jul 6, 2022
1 parent 33f60d5 commit 11d039a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Chocolatey.Cake.Recipe/Content/gitversion.cake
Original file line number Diff line number Diff line change
Expand Up @@ -219,12 +219,6 @@ public class BuildVersion
{
// use the asserted package version for the build number in TeamCity
context.BuildSystem().TeamCity.SetBuildNumber(packageVersion);

if (BuildParameters.Title == "ChocolateySoftware.ChocolateyManagement")
{
// Only set this when it is a CCM Build
context.BuildSystem().TeamCity.SetParameter("CCMVersion", packageVersion);
}
}

return new BuildVersion
Expand Down

0 comments on commit 11d039a

Please sign in to comment.