summarylogtreecommitdiffstats
path: root/tbump.toml
blob: 13b07cacb94d9d487690ab2e06006cb4c8e66beb (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 = "2.5.1-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 source check sums"
cmd = "updpkgsums"

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

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