Skip to content

Commit

Permalink
current version command changed
Browse files Browse the repository at this point in the history
  • Loading branch information
say-paul committed Sep 21, 2023
1 parent 18031b5 commit ff6617b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ srpm_build_deps:

actions:
get-current-version:
- rpmspec -q --queryformat "%{VERSION}\n" greenboot.spec |head -n1
- grep -oP '^Version:\s+\K\S+' greenboot.spec
create-archive:
- "cargo vendor vendor"
- bash -c "git archive --prefix=greenboot-${PACKIT_PROJECT_VERSION}/ --format=tar HEAD > greenboot-${PACKIT_PROJECT_VERSION}.tar"
Expand Down

0 comments on commit ff6617b

Please sign in to comment.