Nuget publish script
Create "Publish.ps1" a script in the solution root that completes each of the following steps, stopping if any fails:
- Check for git porcelein
- Determine the Nerdbank git version
- Check that nuget-key.txt exists, has content and is gitignored
- Run unit tests (unless -SkipTests is specified)
- Publish to nuget.org
The script should not interact with the user. It should exit with 0 if successful.
No comments:
Post a Comment