happygears/Git Tag Based Build Version
Generates build version based on git tag, number of commits from the tag and branch name.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
no inputs
Outputs
| name | description |
|---|---|
| version | Short Version Example: 1.0.1 |
| is_release_branch | Is a release branch |
| is_development_branch | Is the development branch |
| is_feature_branch_or_pr | Is a feature branch or pull request |
| long_version | Version with commit count and branch name Example: 1.0.1-123-abcd-feature-NET-1522 Where: - 1.0.1 - recent git tag - 123 - number of commits made after the tag was set - abcd - Short commit ID - feature-NET-1522 - name of the git branch "feature/NET-1522" |
| git_branch | Git branch |
| git_branch_safe | Git branch with "/" replaced with "-" |
| git_commit | Git commit ID |
| git_tag | Git tag |
| git_commits_since_tag | Number of commits since the tag's commit ID |
| git_describe | Get describe output |
| git_describe_object_id | The git describe object ID. This is a short version of the commit. The length is the minimum needed to make the entire `git_describe` string unique. |