Skip to content

Commit 4b92ef0

Browse files
jan-kolarikppisar
authored andcommitted
packit: Use package version from the attached spec file
Force Packit to use the package version from the attached spec file instead of the latest git tag.
1 parent bb1d84b commit 4b92ef0

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
@@ -3,6 +3,10 @@
33

44
specfile_path: dnf.spec
55

6+
actions:
7+
get-current-version:
8+
- rpmspec --srpm --query --queryformat "%{version}" dnf.spec
9+
610
jobs:
711
- job: copr_build
812
trigger: pull_request

0 commit comments

Comments
 (0)