Skip to content

Commit

Permalink
Merge pull request chocolatey-community#27 from AdmiringWorm/fix-lice…
Browse files Browse the repository at this point in the history
…nse-replacement

(chocolatey-community#26) Use milestone for license URL replacement

(cherry picked from commit 698a713)
  • Loading branch information
gep13 authored and AdmiringWorm committed Jan 18, 2024
1 parent 1d73e86 commit 8786128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipe.cake
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Task("Prepare-Chocolatey-Packages")
"https://github.com/{0}/{1}/blob/{2}/LICENSE.txt",
BuildParameters.RepositoryOwner,
BuildParameters.RepositoryName,
BuildParameters.BuildProvider.Repository.Tag.IsTag ? BuildParameters.BuildProvider.Repository.Tag.Name : BuildParameters.BuildProvider.Repository.Branch
BuildParameters.BuildProvider.Repository.Tag.IsTag ? BuildParameters.Version.Milestone : BuildParameters.BuildProvider.Repository.Branch
);

var verificationText = string.Format(@"
Expand Down

0 comments on commit 8786128

Please sign in to comment.