diff --git a/release.ps1 b/release.ps1 index 45df105..a1a5d55 100644 --- a/release.ps1 +++ b/release.ps1 @@ -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) { @@ -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 \ No newline at end of file + --source https://api.nuget.org/v3/index.json + +Write-Host "Creating tag $tagName" + +git tag $tagName + +git push origin tag $tagName \ No newline at end of file