Closed paskino closed 2 years ago
Jenkins determines the number of commits from the latest tag with these lines
https://github.com/vais-ral/CCPi-VirtualMachine/blob/40bc2d32a16db85974775a00789333f3b01b433f/scripts/jenkins-build.sh#L50-L51
export CIL_TAG_PREV=$(git describe --tags --abbrev=0 | tr -d '/s/v//g' ) ncommits=$(git rev-list v${CIL_TAG_PREV}..HEAD --count)
In particular the second line assumes that the tag has a v in it as first character. Since the latest tag is 22.0, this fails.
v
https://github.com/vais-ral/CCPi-Regularisation-Toolkit/releases/tag/v22.0.0 added as alias of 22.0
22.0
Jenkins determines the number of commits from the latest tag with these lines
https://github.com/vais-ral/CCPi-VirtualMachine/blob/40bc2d32a16db85974775a00789333f3b01b433f/scripts/jenkins-build.sh#L50-L51
In particular the second line assumes that the tag has a
v
in it as first character. Since the latest tag is 22.0, this fails.