An open API service indexing awesome lists of open source software.

https://github.com/tknerr/gitversion-playground

playground for toying around with https://gitversion.readthedocs.io/en/latest/
https://github.com/tknerr/gitversion-playground

Last synced: 4 months ago
JSON representation

playground for toying around with https://gitversion.readthedocs.io/en/latest/

Awesome Lists containing this project

README

          

# GitVersion Usage Example

Example repo to validate our GitVersion usage

## Branching Model

Oveview;

* current development happens on `master`
* support / maintenance branches on `release/..x`
* we use `feature/*` or `bugfix/*` topic branches with PR

## GitVersion Usage

How we use it:

* release versions (e.g. "v0.1.0") are created manually via tag
* pre-release version (e.g. "v0.2.0-alpha5") are created manually via tag, too
* we use `gitversion -showvariable FullSemVer` to compute the full version string to be imprinted into our artifacts (e.g. "v0.2.0-alpha6+19")

Examples:

* "v0.1.0" is the (tagged) *release* version v0.1.0
* "v0.2.0-alpha5" is a (tagged) v0.2.0-alpha5 *pre-release* as we are working towards v0.2.0
* "v0.2.0-alpha6+19" is an ordinary (untagged) CI build, working towards the v0.2.0-alpha6 pre-release and 19 commits ahead of the previous v0.1.0 release