TomographicImaging / CCPi-Regularisation-Toolkit

The set of CPU/GPU optimised regularisation modules for iterative image reconstruction and other image processing tasks
Apache License 2.0
49 stars 25 forks source link

git 22.0 tag is not standard and jenkins fails #173

Closed paskino closed 2 years ago

paskino commented 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.

paskino commented 2 years ago

https://github.com/vais-ral/CCPi-Regularisation-Toolkit/releases/tag/v22.0.0 added as alias of 22.0