From 11e6be12c83d6d84425789f0abc3fee19a8b4a85 Mon Sep 17 00:00:00 2001 From: KaliCZ Date: Tue, 5 May 2026 09:38:08 +0200 Subject: [PATCH] Pin license.txt link in packed readme to release tag The readme rewrite task in StrongTypes.csproj missed the `[MIT License](license.txt)` link, so on nuget.org it would resolve relative to the package page and 404. Add it to the replacement list alongside the existing src/, Skill/, and docs/diagrams/ rules. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/StrongTypes/StrongTypes.csproj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/StrongTypes/StrongTypes.csproj b/src/StrongTypes/StrongTypes.csproj index 97df5da..aeeb95c 100644 --- a/src/StrongTypes/StrongTypes.csproj +++ b/src/StrongTypes/StrongTypes.csproj @@ -83,6 +83,7 @@ content = content.Replace("srcset=\"docs/diagrams/", "srcset=\"" + RawBaseUrl + "docs/diagrams/"); content = content.Replace("](Skill/", "](" + RawBaseUrl + "Skill/"); content = content.Replace("](src/", "](" + BlobBaseUrl + "src/"); + content = content.Replace("](license.txt)", "](" + BlobBaseUrl + "license.txt)"); content = content.Replace("https://github.com/KaliCZ/StrongTypes/releases/latest/download/", ReleaseAssetBaseUrl); System.IO.Directory.CreateDirectory(System.IO.Path.GetDirectoryName(DestinationPath)); System.IO.File.WriteAllText(DestinationPath, content);