From daedf18733e1dcab0eb0276fe5a7f38b04affaca Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Fri, 24 Jan 2025 21:47:48 -0300 Subject: [PATCH] Don't hardcode CI feed URL Use the same project-generated constant used for checking for updates in the rendered message for updating. This was a bug from the previously hardcoded feed. --- src/dotnet-openlaw/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dotnet-openlaw/Program.cs b/src/dotnet-openlaw/Program.cs index bd07e0a..20db596 100644 --- a/src/dotnet-openlaw/Program.cs +++ b/src/dotnet-openlaw/Program.cs @@ -96,7 +96,7 @@ static async Task CheckUpdates(string[] args) return [ $"Hay una nueva version de [yellow]{ThisAssembly.Project.PackageId}[/]: [dim]v{localVersion.ToNormalizedString()}[/] -> [lime]v{update.ToNormalizedString()}[/]", $"Actualizar con: [yellow]dotnet[/] tool update -g {ThisAssembly.Project.PackageId}" + - (civersion ? " --source https://kzu.blob.core.windows.net/nuget/index.json" : ""), + (civersion ? " --source " + ThisAssembly.Project.SLEET_FEED_URL : ""), ]; }