Skip to content

Commit

Permalink
Merge pull request #27 from AdmiringWorm/fix-license-replacement
Browse files Browse the repository at this point in the history
(#26) Use milestone for license URL replacement
  • Loading branch information
gep13 authored Jan 18, 2024
2 parents be912ee + 7819246 commit 698a713
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 698a713

Please sign in to comment.