ShellYard was created during the development of an AI software product in which minimal API functionality (coming soon) was outsourced to a class library project.
These scripts were created after being inspired by a YouTube video about private NuGet packages by Mark Inman.
ShellYard was created entirely with the help of artificial intelligence.
In his tutorial, Inman edits the nuget.config file directly within bin/Release.
With build.sh you can place your GitHub publishing credentials within your project root (beside your appsettings.json) and generate your nuget.config into bin/Release.
File | Description |
---|---|
build.sh | Copy to project root (beside .csproj file), together with nuget.template.config. Add a copy of .nuget.template.credentials as .nuget.credentials and add your GitHub credentials. When running build.sh, a copy of nuget.template.config will be created as nuget.config within bin/Release with the credentials from .nuget.credentials. |
publish.nupkg.sh | Copy to project root (beside .csproj file). This script runs the nuget push <file> --source "github" --skip-duplicate command and expects a valid nuget.config file, that can be created with build.sh. |
upversion.nupkg.sh | Copy to project root (beside .csproj file). When run, the script increases the bugfix versions within your .csproj file by 1. It increases <Version>, <AssemblyVersion>, <FileVersion>. Use additional parameter --minor to increase the minor version and --major to increase the major version. |