Files
keylime/_service
Alberto Planas Dominguez 48ce77839f - Fix version rewrite to show the exact tag when there is no
offset. 'Downgrades' version to 7.14.0.
- Add set_Version to _service definitions: one more automated step

This version avoids +0 in the version; so when you're exactly on tag, it looks cleaner
and actually does not break building of the docker container

Careful with the + in the version! 
https://build.opensuse.org/package/live_build_log/openSUSE:Factory/keylime-control-plane-image/containerfile/x86_64
  Error: tag opensuse/keylime-control-plane:7.14.0+0: invalid reference format

OBS-URL: https://build.opensuse.org/package/show/security/keylime?expand=0&rev=111
2026-02-18 08:49:44 +00:00

21 lines
856 B
Plaintext

<services>
<service mode="manual" name="obs_scm">
<param name="url">https://github.com/keylime/keylime.git</param>
<!-- <param name="versionformat">@PARENT_TAG@</param> -->
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="scm">git</param>
<param name="revision">v7.14.0</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">(v)?([^+]+)(\+0)?(\+[1-9][0-9]*)?</param>
<param name="versionrewrite-replacement">\2\4</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">aplanas@suse.com</param>
</service>
<service mode="manual" name="set_version"/>
<service mode="manual" name="tar" />
<service mode="manual" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
</services>