cpkg: handles cpkg tags
This commit is contained in:
parent
9c79307ef9
commit
37445a815e
|
@ -64,7 +64,7 @@ def call(Map params = [:]) {
|
|||
def versionNumber = sh(
|
||||
script: "git describe --always ${currentRef}",
|
||||
returnStdout: true,
|
||||
).trim()
|
||||
).split('/').last().trim()
|
||||
|
||||
def isCommitRef = !versionNumber.matches(/^[0-9]+\.[0-9]+\.[0-9]+.*$/)
|
||||
|
||||
|
|
Loading…
Reference in New Issue