QA-379 mender-{artifact,cli} publish only on build and final tags.
QA-379 mender-{artifact,cli} publish only on build and final tags.

* helpers taken from:
https://github.com/mendersoftware/mender-dist-packages/blob/master/.gitlab-ci.yml#L365

ChangeLog: none
Signed-off-by: Peter Grzybowski <4b8373d016f277527198385ba72fda0feb5da015@northern.tech>

mendersoftware/meta-mender-qemu