Skip to content

Commit

Permalink
Moves the tagging to the end of the release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Richiban committed Nov 18, 2024
1 parent a8937f3 commit fb0a983
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ if ($versionAlreadyTagged) {
exit 0
}

Write-Host "Creating tag $tagName"

git tag $tagName

git push origin tag $tagName

$nupkg = get-item Consolo.$version.nupkg

if (-not $nupkg) {
Expand All @@ -44,4 +38,10 @@ write-host $nupkg
dotnet nuget push `
$nupkg `
--api-key $env:NUGET_API_KEY_CONSOLO_CI `
--source https://api.nuget.org/v3/index.json
--source https://api.nuget.org/v3/index.json

Write-Host "Creating tag $tagName"

git tag $tagName

git push origin tag $tagName

0 comments on commit fb0a983

Please sign in to comment.