Changed version getting2
test-org/runner-rs/pipeline/pr-master There was a failure building this commit Details

pull/37/head
yuobrezkov 2025-01-22 18:33:16 +03:00
parent 504bc7df84
commit 8174affa51
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -72,7 +72,8 @@ pipeline {
def targetDirAmd = "${env.WORKSPACE}/${env.CHANGE_BRANCH}/amd64"
def targetDirRisc = "${env.WORKSPACE}/${env.CHANGE_BRANCH}/riscv64"
def packageName = "noxis"
def version = sh(script: "git describe --tags --always $(git rev-list --tags --max-count=1 --branches=rc)", returnStdout: true).trim() def createDebPackage = { arch, binDir, targetDir, installSize ->
def version = sh(script: "git describe --tags --abbrev=0)", returnStdout: true).trim()
def createDebPackage = { arch, binDir, targetDir, installSize ->
echo "Creating deb package for ${arch}..."
sh """