{{if eq .PackageDescriptor.Package.Type "nuget"}}
dotnet nuget add source --name Gitea --username your_username --password your_token {{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/nuget/index.json
dotnet add package --source Gitea --version {{.PackageDescriptor.Version.Version}} {{.PackageDescriptor.Package.Name}}
{{.i18n.Tr "packages.dependency.id"}} | {{.i18n.Tr "packages.dependency.version"}} | {{.i18n.Tr "packages.nuget.dependency.framework"}} |
---|---|---|
{{.ID}} | {{.Version}} | {{$framework}} |