Compare commits
8 Commits
1.0.8.post
...
1.0.10.pos
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
876e428003 | ||
|
|
f32127abd7 | ||
|
|
b20e5bd868 | ||
|
|
f1b1901f8a | ||
|
|
f63a7b76cd | ||
|
|
7ce1a04eb9 | ||
|
|
658eef2df6 | ||
|
|
3d2b8d3762 |
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -89,7 +89,7 @@ int GetCoverageValue(String CoverageFilePath,String XPath)
|
||||
|
||||
String getColorScale(BigDecimal value)
|
||||
{
|
||||
if( value >9) { return "gold"}
|
||||
if( value >9) { return "Goldenrod"}
|
||||
else if( value >6) { return "seagreen"}
|
||||
else if( value >4) { return "orange"}
|
||||
else if( value >2) { return "darkred"}
|
||||
@@ -102,7 +102,7 @@ String getColorScale_reversed(BigDecimal value)
|
||||
else if( value >6) { return "darkred"}
|
||||
else if( value >4) { return "orange"}
|
||||
else if( value >2) { return "seagreen"}
|
||||
else { return "gold"}
|
||||
else { return "Goldenrod"}
|
||||
}
|
||||
|
||||
int GetCoverageValue_lines_valid(String CoverageFilePath) { return GetCoverageValue(CoverageFilePath,"/coverage/@lines-valid") }
|
||||
@@ -492,11 +492,11 @@ pipeline {
|
||||
maintainability = records[1][1]
|
||||
badge_maintainability.setStatus(maintainability)
|
||||
|
||||
if ( maintainability == 'D') { badge_maintainability.setColor( "dimgrey")}
|
||||
if ( maintainability == 'D') { badge_maintainability.setColor( "dimgrey")}
|
||||
else if( maintainability == 'C') { badge_maintainability.setColor( "darkred")}
|
||||
else if( maintainability == 'B') { badge_maintainability.setColor( "orange")}
|
||||
else if( maintainability == 'A') { badge_maintainability.setColor( "seagreen")}
|
||||
else if( maintainability == 'A+') { badge_maintainability.setColor( "gold")}
|
||||
else if( maintainability == 'A+') { badge_maintainability.setColor( "Goldenrod")}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,8 +14,7 @@ _A tiny library to help versioning management of git python projects_
|
||||
|
||||
Because a good developer is a lazy developer and version management in CI/CD can be very time consuming.
|
||||
|
||||
|
||||
Checkout [Latest Documentation](https://chacha.ddns.net/mkdocs-web/chacha/pygitversionhelper/{{branch}}/latest/).
|
||||
Checkout [Latest Documentation](https://chacha.ddns.net/mkdocs-web/chacha/pygitversionhelper/master/latest/).
|
||||
|
||||
## Features
|
||||
- list tags
|
||||
@@ -24,7 +23,8 @@ Checkout [Latest Documentation](https://chacha.ddns.net/mkdocs-web/chacha/pygitv
|
||||
- get current version (bumped)
|
||||
- convert / switch from SemVer to PEP440 (both ways)
|
||||
- automatic version format detection (SemVer by default)
|
||||
|
||||
- get commit message history
|
||||
|
||||
## Options
|
||||
- restrict to same branch
|
||||
- both SemVer and PEP440 support
|
||||
|
||||
@@ -16,7 +16,6 @@ version_scheme= "post-release"
|
||||
[project]
|
||||
name = "pygitversionhelper"
|
||||
description = "pygitversionhelper"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9"
|
||||
keywords = ["chacha","chacha","template","pygitversionhelper"]
|
||||
license = { file = "LICENSE.md" }
|
||||
|
||||
Reference in New Issue
Block a user