zuul-jobs/roles/version-from-git
Andreas Jaeger 54077ba1e1 Fix condition in version-from-git
This should be the negation of the condition above, not exactly the same
but double negated.

Change-Id: I24e5f73480c83777f8dcb5ca71283afe5565212f
2018-03-07 08:25:18 +00:00
..
defaults Add base job and roles for javascript 2017-10-09 08:32:45 -05:00
tasks Fix condition in version-from-git 2018-03-07 08:25:18 +00:00
README.rst Add base job and roles for javascript 2017-10-09 08:32:45 -05:00

Sets three facts based on information in a git repo.

scm_sha

The short sha found in the repository.

project_ver

A string describing the project's version. It will either be the value of {{ zuul.tag }} or {{ scm_tag }}.{{ commits_since_tag }}.{{ scm_sha }} otherwise where scm_tag is either the most recent tag or the value of scm_sha if there are no commits in the repo.

commits_since_tag

Number of commits since the most recent tag.

Role Variables