Clone the repository and move into it:
git clone [email protected]:dnsimple/dnsimple-csharp.git
cd dnsimple-csharp
-
.NET Core SDK
From https://dotnet.microsoft.com/download/
You can either use to install the .NET Core SDK - Installers - Binaries - Scripts - Install Visual Studio
Run the test suite to check everything is working as expected and to install the project specific dependencies (the first time you'll run the script it will install all the dependencies for you).
To run the test suite:
dotnet test
The following instructions uses $VERSION as a placeholder, where $VERSION is a MAJOR.MINOR.BUGFIX release such as 1.2.0.
-
Run the test suite and ensure all the tests pass.
-
Update
PackageReleaseNotes
indnsimple.csproj
(located in./src/dnsimple
). -
Update
PackageVersion
indnsimple.csproj
(located in./src/dnsimple
) with the current version. -
Finalize the
## main
section inCHANGELOG.md
assigning the version. -
Commit and push the changes
git commit -a -m "Release $VERSION" git push origin main
-
Wait for the CI to complete.
-
Create a signed tag.
git tag -a v$VERSION -s -m "Release $VERSION" git push origin --tags
Submit unit tests for your changes. You can test your changes on your machine by running the test suite.
When you submit a PR, tests will also be run on the continuous integration environment via GitHub Actions.