cpkg: handles cpkg tags

This commit is contained in:
wpetit 2022-09-27 11:02:57 +02:00
parent 9c79307ef9
commit 37445a815e
1 changed files with 1 additions and 1 deletions

View File

@ -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]+.*$/)