Miscellaneous tools for building .NET Core libraries.
Common build script. On every push, regardless of branch:
- Builds.
- Runs all tests, collecting code coverage.
- Creates NuGet packages.
- Uploads results.
- Note: NuGet publishing will fail unless the version number is new.
On every push, regardless of branch:
- Check to see if the current project version has a tag; if not, creates and pushes a tag to the repo.
Enforces the C# OSS project checklist/guidelines.
This file expects another file to be present - project.props
- which should define common properties such as Author
.
Enables two additional features, which can be enabled in the project file or project.props
:
- Metapackages. Set
<IsMetapackage>true</IsMetapackage>
to create a metapackage (a NuGet package that only references other NuGet packages). - Dotnet tools. Set
<ToolCommandName>mytool</ToolCommandName>
to create a dotnet tool package.