summarylogtreecommitdiffstats
path: root/tbump.toml
blob: 5a879a5fbab1a4634ae0efb9774ebca2cb0c5001 (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 = "3.3.7-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"