-
Notifications
You must be signed in to change notification settings - Fork 4
Release process
Samuel D. Leslie edited this page Jun 2, 2022
·
7 revisions
Instructions assume a correctly configured development environment.
- Determine the new version number (for subsequent steps).
- Update
CHANGELOG.md
(review the commit history). - Push all commits on
main
and check all builds pass.
- Change to the
src\Draftable.CompareAPI.Client
directory. - Compile the project:
dotnet build -c Release -p:Version=X.Y.Z
- Build the NuGet package:
dotnet pack -c Release -p:Version=X.Y.Z
- Test the package locally: set up a Nuget repository in a local directory:
nuget add C:\newly\built\package.nupkg -Source C:\local-nuget-feed
- Upload the new release.
Consult the internal documentation (Draftable employees only) for credentials suitable for publishing.
- Add a new Git tag corresponding to the release.
- Fast-forward the
stable
branch to matchmain
. - Update any internal repositories to use the new version.