Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.14 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.14 KB

Gitversion Feature

This feature installs GitVersion, a tool to help you generate a version number based on your git history.

Originally, GitVersion was designed to be used in a CI/CD pipeline. However, it can also be used in a dev container to calculate the version number of the application.

More information about GitVersion can be found on the GitVersion GitHub page.

Quick Start — devcontainer.json

"features": {
    "ghcr.io/tomgrv/devcontainer-features/gitversion:10": {}
}

Quick Install — console

npx tomgrv/devcontainer-features -- add gitversion
# or, without node/npm:
curl -fsSL https://raw.githubusercontent.com/tomgrv/devcontainer-features/develop/setup.sh | sh -s -- add gitversion

Quick Install — npm

npm install --save-dev @tomgrv/devcontainer-features-gitversion

Options

Options Id Description Type Default Value
version The version of GitVersion to use. string 6.5.1