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 Oct 5, 2023
1 parent 91a2db4 commit 3e7be9a
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 3e7be9a

Please sign in to comment.