forked from openSUSE/obs-service-set_version
-
Notifications
You must be signed in to change notification settings - Fork 0
/
set_version.service
23 lines (22 loc) · 952 Bytes
/
set_version.service
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<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="fromfile">
<description>Try to detect version from the contents of 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>