This document contains instructions for publishing version 2.0.0 of Space.Modules.InMemoryCache.
The following changes have been completed in this PR:
- Upgraded Space.Abstraction from
1.3.4-previewto2.0.0 - Upgraded Space.DependencyInjection from
1.3.4-previewto2.0.0 - Created CHANGELOG.md to document version history
- Created git tag v2.0.0 (local only)
All tests pass successfully:
- ✅ 29 tests passed
- ✅ No breaking changes detected
- ✅ Build succeeds with no errors
To publish this version to NuGet, follow these steps:
After merging this PR to the main branch, push the tag:
git checkout master # or main
git pull origin master
git tag -a v2.0.0 -m "Release v2.0.0 - Upgrade to Space.Abstraction 2.0.0"
git push origin v2.0.0- Go to https://github.com/salihcantekin/Space.Modules.InMemoryCache/releases/new
- Choose tag:
v2.0.0 - Release title:
v2.0.0 - Description: Use content from CHANGELOG.md or similar:
## What's Changed - Upgraded Space.Abstraction from v1.3.4-preview to v2.0.0 - Upgraded Space.DependencyInjection from v1.3.4-preview to v2.0.0 All tests pass. No breaking changes detected. - Click "Publish release"
Once the GitHub release is published, the CI/CD pipeline (.github/workflows/prod-ci.yml) will automatically:
- Build the project with version 2.0.0
- Create the NuGet package
- Publish to NuGet.org
After the workflow completes, verify the package is available:
- The release pipeline requires the
NUGET_API_KEYsecret to be configured in the repository - For a preview release, mark the GitHub release as "pre-release" to create version
2.0.0-preview - The version number is extracted from the git tag (must be in format
vX.Y.Z)