Skip to content

Commit

Permalink
chore: include git push in release cmd (#66)
Browse files Browse the repository at this point in the history
* chore: include git push in release cmd

* chore: correct error message and exit
  • Loading branch information
saintedlama committed Mar 3, 2022
1 parent 1627983 commit e985c68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ git checkout master
git pull || echo Could not pull changes from origin && exit /b

dotnet run --project Versionize --framework net6.0 || echo Exiting. Could not create a new version using versionize && exit /b
git push --follow-tags origin master || echo Exiting. Failed to push changes to repository && exit /b

rm -rf nupkgs || echo ERROR && exit /b
dotnet pack --output nupkgs --include-source --configuration Release --include-symbols || echo Exiting. Could not run dotnet pack. Remove any tags created by versionize && exit /b

Expand Down

0 comments on commit e985c68

Please sign in to comment.