Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.24 KB

BUILDING.md

File metadata and controls

48 lines (33 loc) · 1.24 KB

Building JanusGraph.Net

JanusGraph.Net uses dotnet build for convenient builds across platforms.

Requirements

  • .NET 8.0 SDK is needed to build and test the project.
  • Docker needs to be running in order to execute the integration tests as they automatically start a JanusGraph Docker container.

Build

The library can be tested by executing:

dotnet test JanusGraph.NET.sln

The library can be packed into NuGet package by executing:

dotnet pack -v minimal -c Release -o ./artifacts JanusGraph.NET.sln

Deployment

We use continuous deployment via GitHub Actions to push NuGet packages to nuget.org. To create a new release, you only have to create a git tag for the release:

git tag -a v0.1.0 -m "JanusGraph.Net 0.1.0 release"

and then push this tag:

git push origin v0.1.0

This will trigger a deployment via GitHub Actions after the usual build has completed successfully. The version number used for the tag should correspond to the version in the .csproj file as that version is used for the NuGet package.