# 1. Update version in SchemaMagic/SchemaMagic.csproj
<Version>1.1.0</Version>
# 2. Update CHANGELOG.md (move Unreleased to new version)
# 3. Build the package
cd SchemaMagic
dotnet pack -c Release -o ./nupkg
# 4. Test locally (optional but recommended)
dotnet tool install -g SchemaMagic --add-source ./nupkg
schemamagic --version
dotnet tool uninstall -g SchemaMagic
# 5. Publish to NuGet
dotnet nuget push nupkg/SchemaMagic.1.1.0.nupkg \
--api-key YOUR_NUGET_API_KEY \
--source https://api.nuget.org/v3/index.json
# 6. Create Git tag
git tag -a v1.1.0 -m "Release version 1.1.0 - Property comment tooltips"
git push origin v1.1.0Once published, users install with:
dotnet tool install -g SchemaMagicThen use it:
schemamagic path/to/MyDbContext.cs
# or
dotnet schemamagic path/to/MyDbContext.cs- Go to https://www.nuget.org/account/apikeys
- Create a new API key with "Push" permissions
- Set expiration and package scopes as needed
- Copy the key (you won't see it again!)
- Major (2.0.0): Breaking changes
- Minor (1.1.0): New features, backward compatible
- Patch (1.0.1): Bug fixes
Current release: Adding property tooltips = Minor version bump (1.0.0 ? 1.1.0)