summarylogtreecommitdiffstats
path: root/tbump.toml
blob: aeeca5d38a2530b3b854d8b66bd7326d5cdfc9e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[version]
current = "0.10.0-1"
regex = '''
  (?P<major>\d+)
  \.
  (?P<minor>\d+)
  \.
  (?P<patch>\d+)
  -
  (?P<pkgrel>\d+)
'''

[git]
tag_template = "v{new_version}"
message_template = "Bump to {new_version}"

[[file]]
src = "PKGBUILD"
search = 'pkgver="{current_version}"'
version_template = "{major}.{minor}.{patch}"

[[file]]
src = "PKGBUILD"
search = 'pkgrel={current_version}'
version_template = "{pkgrel}"

[[before_commit]]
name = "Update integrity checksums"
cmd = "updpkgsums"

[[before_commit]]
name = "Check build"
cmd = "extra-x86_64-build"

[[before_commit]]
name = "Generate .SRCINFO"
cmd = "makepkg --printsrcinfo > .SRCINFO"