ovirt-imageio
ovirt-imageio copied to clipboard
Fix tag checkout on CIs
build-aux/release
complain when executed in the pipelines:
'subprocess.CalledProcessError: Command '('git', 'describe', '--tags', '--match', 'v[0-9]*')' returned non-zero exit status 128.'
In order to avoid this fail we need to create tag like vx.y.z
in the CIs.
It could either be manually assigned, as v.0.0.0
or v1.2.3
, or taken from the repository tags with a limited depth, so that we print the real tag in the CI job.