Skip to content

Commit 17e1a6b

Browse files
committed
fix packit version gathering
1 parent cef3c66 commit 17e1a6b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.packit.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ files_to_sync:
88
- tp_smapi.spec
99
- .packit.yaml
1010

11+
actions:
12+
get-current-version:
13+
- bash -c "grep '#define TP_VERSION' tp_smapi.c | tr -c -d '[0-9.]'"
14+
1115
# name in upstream package repository/registry (e.g. in PyPI)
1216
upstream_package_name: tp_smapi
1317
# downstream (Fedora) RPM package name

0 commit comments

Comments
 (0)