Skip to content

Commit

Permalink
fix:packit fix for CI
Browse files Browse the repository at this point in the history
Signed-off-by: Sayan Paul <saypaul@redhat.com>
  • Loading branch information
say-paul committed Sep 29, 2023
1 parent 3f272b6 commit f5aee5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ srpm_build_deps:
# post-upstream-clone: "./tools/rpm_spec_add_provides_bundle.sh"

actions:
get-current-version:
- 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 f5aee5d

Please sign in to comment.