Skip to content

Commit

Permalink
fix publish nuget. +semver:patch
Browse files Browse the repository at this point in the history
  • Loading branch information
fryderykhuang committed Jan 20, 2024
1 parent 832107b commit efb7311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/PublishNuget.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
. $PSScriptRoot\Variables.ps1
Push-Location $SolutionDir
foreach ($project in $Projects) {
dotnet nuget push (Join-Path $ArtifactsDir $project.$Env:GitVersion_NuGetVersionV2.nupkg | Resolve-Path) --skip-duplicate --api-key $Env:NUGET_API_KEY --source https://api.nuget.org/v3/index.json
dotnet nuget push (Join-Path $ArtifactsDir "${project}.${Env:GitVersion_NuGetVersionV2}.nupkg" | Resolve-Path) --source 'https://api.nuget.org/v3/index.json' --api-key $Env:NUGET_API_KEY --skip-duplicate
}

Pop-Location

0 comments on commit efb7311

Please sign in to comment.