Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 919 Bytes

File metadata and controls

29 lines (19 loc) · 919 Bytes

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:6": {}
}

Quick Install — console

npx tomgrv/devcontainer-features -- gitversion

Options

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