Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.28 KB

CONTRIBUTING.md

File metadata and controls

35 lines (22 loc) · 1.28 KB

Please read CONTRIBUTING first.

Run tests

MacOS/Linux

Install .NET 5

Run make from this directory.

Windows

Open Gherkin.DotNet.sln from this directory in Visual Studio 2019 and build.

Alternatively, run dotnet build and dotnet test from this directory.

The dotnet test command will run the unit tests and the .NET-transformed acceptance tests. This is good as a first pass check and for debugging. For a complete verification, run the make command as well (or let the PR build run it for you), so that the standard version of the acceptance tests are also executed.

Make a release

The 'make' command is now prepared to make NuGet package releases as well, ie the make update-version command will update the version number in the project file. For the general release procedure, check CONTRIBUTING.

# prepare new version
echo "X.Y.Z" > VERSION
make update-version
git commit -m "Release X.Y.Z"
git tag -a -m "Version X.Y.Z" vX.Y.Z

# verify and publish
make publish

# push
git push
git push --tags