Run build-source on tags as well
This addresses the broken release detection when uploading to OBS since CI_COMMIT_TAG
is present only when building tags and that's what the ci-buildpackage
uses to detect whether it must mark the uploaded package as UNRELEASED
and append a ~
to the version.
- I pushed commits and the tag to the
apertis/v2019pre
branch - the pipeline got started for the branch, not for the commit
-
CI_COMMIT_TAG
is thus not set - the scripts adds
UNRELEASED
todebian/changelog
and appends~
to the version, assuming it is a pre-release push instead of uploading a proper release version to OBS - sadness ensued
Edited by Emanuele Aina