From e49442025f31c8f7c5e34d39d8a9f57282f37117 Mon Sep 17 00:00:00 2001 From: Robert Jordan Date: Tue, 12 Jul 2022 11:12:41 -0400 Subject: [PATCH] Fix "Distance Distance" when using setup.ps1 * In setup.ps1, the replace-all for "Mod Template" -> $Title replaces instances where "Distance Mod Template" is the original text. * $Title is already transformed into "Distance $InputName" before assignment. * So in those instances, the output text is "Distance $Title" or "Distance Distance $InputName". * The two files with "Distance Mod Template" are `./env` and `Mod.Template/Mod.Template.targets`. --- .env | 2 +- Mod.Template/Mod.Template.targets | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 13efeba..88d04d3 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ SOLUTION=Mod.Template.sln -ARTIFACTS=Build/Distance Mod Template.zip +ARTIFACTS=Build/Mod Template.zip RELEASE_BODY=This release was automatically generated as part of a GitHub workflow. Please read the repository README for more info. \ No newline at end of file diff --git a/Mod.Template/Mod.Template.targets b/Mod.Template/Mod.Template.targets index fc29990..1cf8738 100644 --- a/Mod.Template/Mod.Template.targets +++ b/Mod.Template/Mod.Template.targets @@ -1,5 +1,5 @@  - Distance Mod Template + Mod Template \ No newline at end of file