From 045d9feddfb50fcde275d87e28778a4ab0442f4a Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Wed, 23 Aug 2023 19:28:38 -0400 Subject: [PATCH] Fix issues with winget PR body --- tools/Tgstation.Server.ReleaseNotes/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/Tgstation.Server.ReleaseNotes/Program.cs b/tools/Tgstation.Server.ReleaseNotes/Program.cs index bc3ce94d6b..2542c7b78c 100644 --- a/tools/Tgstation.Server.ReleaseNotes/Program.cs +++ b/tools/Tgstation.Server.ReleaseNotes/Program.cs @@ -779,8 +779,6 @@ This pull request was generated by our [deployment pipeline]({actionUrl}) as a r The user account that created this pull request is available to correct any issues. -**_We would like to be verified as the publisher of this software but we cannot find documentation on how to do so._** - - [x] Have you signed the [Contributor License Agreement](https://cla.opensource.microsoft.com/microsoft/winget-pkgs)? - [x] Have you checked that there aren't other open [pull requests](https://github.com/microsoft/winget-pkgs/pulls) for the same manifest update/change? - This PR is generated as a direct result of a new release of `tgstation-server` this should be impossible @@ -789,7 +787,9 @@ The user account that created this pull request is available to correct any issu - Validation is performed as a prerequisite to deployment. - [x] Have you tested your manifest locally with `winget install --manifest `? - Manifest installation and uninstallation is performed as a prerequisite to deployment. -- [x] Does your manifest conform to the [1.5 schema](https://github.com/microsoft/winget-pkgs/tree/master/doc/manifest/schema/1.5.0)?"; +- [x] Does your manifest conform to the [1.5 schema](https://github.com/microsoft/winget-pkgs/tree/master/doc/manifest/schema/1.5.0)? + +###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-pkgs/pull/$PR_NUMBER_SUBST$)"; if (expectedTemplateSha != null) { @@ -825,7 +825,7 @@ The user account that created this pull request is available to correct any issu await client.Issue.Update("microsoft", "winget-pkgs", prToModify.Number, new IssueUpdate { - Body = prBody, + Body = prBody.Replace("$PR_NUMBER_SUBST$", prToModify.Number.ToString()), }); return 0; }