Mailinglist Archive: opensuse-buildservice (88 mails)

< Previous Next >
Re: [opensuse-buildservice] obs service github_tarballs
Am Tue, 26 Jun 2018 09:37:50 +0200
schrieb Christian <chris@xxxxxxxxxxxxxxxx>:

rebuild after creating a new 'tag' in github.

github might be able to do a 'osc service rr $prj $pkg', but it seems that OBS
lacks a concept of 'latest reachable tag from $branch' for the "revision"
parameter. At least it is not clear from /usr/lib/obs/service/tar_scm.service
how that should be done.

For the time being create the _service on the fly. If "latest_git_tag" changes
a new _service will be commited.

<service name="obs_scm">
<param name="filename">${pkg}</param>
<param name="revision">${latest_git_tag}</param>
<param name="scm">git</param>
<param name="submodules">disable</param>
<param name="url">${prj}/${pkg}.git</param>
<param name='versionformat'>%ci.%h</param>
<service mode="buildtime" name="tar">
<param name="obsinfo">${pkg}.obsinfo</param>
<service mode="buildtime" name="set_version">
<param name="basename">${pkg}</param>

< Previous Next >
Follow Ups