Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 1.3 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.3 KB

BranchFinder

CICD GitHub top language GitHub GitHub repo size Nuget Nuget GitHub last commit

This is a library designed to be able to be included via NuGet which returns the current branch as a JSON object such as:

 { "branch": "master" }

This is mainly designed for applications that may require branch name in this format such as Terraform.

The package available here may work, it may not. I recommend you use the official nuget package source and install as follows.

Install

Package Manager

Install-Package BranchFinder

.NET CLI

dotnet add package BranchFinder