Skip to content

Commit

Permalink
Get current version from spec instead of from git
Browse files Browse the repository at this point in the history
  • Loading branch information
kontura committed Mar 1, 2024
1 parent f45ed6e commit 4f6c4b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ upstream_package_name: dnf5
# downstream (Fedora) RPM package name
downstream_package_name: dnf5

actions:
get-current-version:
- rpmspec -q --queryformat "%{VERSION}\n" *spec |head -n1

jobs:
- job: propose_downstream
trigger: release
Expand Down

0 comments on commit 4f6c4b4

Please sign in to comment.