obs-service-set_version/set_version.service
Frank Schreiner 08557242e0
cli options --debug and --regex
* --debug is useful for local debugging - no param
* --regex can be used on server side and locally - param included
2017-12-08 11:11:47 +01:00

20 lines
817 B
Desktop File

<service name="set_version">
<summary>Updates version in spec and dsc files</summary>
<description>This service updates a spec file according to the existing files.
Can be used after download_url or tar_scm service.
</description>
<parameter name="version">
<description>Set version to this value, otherwise autodetection is running.</description>
</parameter>
<parameter name="basename">
<description>Limit version detection to files which start with given name.</description>
</parameter>
<parameter name="file">
<description>Update only the given file.</description>
</parameter>
<parameter name="regex">
<description>This regex can be used to autodetect the version from the source dir
inside the source file or the source file directly.</description>
</parameter>
</service>