- Create NuGet API key: https://www.nuget.org/account/apikeys
- Add GitHub Secret:
- Go to: Settings ? Secrets and variables ? Actions
- Add secret
NUGET_API_KEYwith your NuGet API key
- Go to Releases ? Draft a new release
- Tag:
v0.1.0-beta - Title:
Release v0.1.0-beta - Check "Set as a pre-release"
- Click "Publish release"
git tag v0.1.0-beta
git push origin v0.1.0-betaThat's it! The CI/CD pipeline will:
- ? Build your project
- ? Run tests
- ? Publish to NuGet.org automatically
- ? Mark as prerelease on GitHub
After beta testing, increment the version:
v1.0.0for stable releasev1.0.1for patch fixesv1.1.0for new features
Update the version in src/EtabSharp/EtabSharp.csproj before creating the tag.
- Actions tab ? Publish NuGet Package workflow ? View logs
Full Guide: See PUBLISH_GUIDE.md for detailed instructions