diff --git a/templates/package/content/nuget.tmpl b/templates/package/content/nuget.tmpl index 8ed2f04e4..d3cf9b09d 100644 --- a/templates/package/content/nuget.tmpl +++ b/templates/package/content/nuget.tmpl @@ -4,11 +4,11 @@
-
dotnet nuget add source --name Gitea --username your_username --password your_token 
+
dotnet nuget add source --name {{.PackageDescriptor.Owner.Name}} --username your_username --password your_token 
-
dotnet add package --source Gitea --version {{.PackageDescriptor.Version.Version}} {{.PackageDescriptor.Package.Name}}
+
dotnet add package --source {{.PackageDescriptor.Owner.Name}} --version {{.PackageDescriptor.Version.Version}} {{.PackageDescriptor.Package.Name}}