Skip to content

Commit

Permalink
Update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Nov 22, 2016
1 parent 1342a6f commit c49eb80
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions dev-bin/release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ if ((Read-Host -Prompt 'Continue? (y/n)') -ne 'y') {
Write-Error 'Aborting'
}

if (-Not(& git status --porcelain)) {
& git add $projectJsonFile
& git commit -m "Prepare for $version"
}
& git commit -m "Prepare for $version" -a

Push-Location MaxMind.Db

Expand All @@ -59,9 +56,7 @@ if ((Read-Host -Prompt 'Should push? (y/n)') -ne 'y') {
& git push

Pop-Location
& git tag "$tag"
& hub release create "$tag"
& git push
& git push --tags

& nuget push "MaxMind.MinFraud/bin/Release/MaxMind.Db.$version.nupkg" -Source https://www.nuget.org/api/v2/package

0 comments on commit c49eb80

Please sign in to comment.