Skip to content

Commit a994f77

Browse files
committed
packit: use cargo package to produce archive
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
1 parent fbd0bd3 commit a994f77

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.packit.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
downstream_package_name: rust-pretty-git-prompt
33
srpm_build_deps:
44
- cargo
5-
- rust
5+
- cargo-rpm-macros
66
actions:
77
create-archive:
8-
- cargo publish --dry-run --allow-dirty
8+
# didn't manage to make it work with --offline, cargo cannot find the packages/crates locally
9+
- cargo package --allow-dirty
910
- bash -c "ls -1 target/package/*.crate"
1011
jobs:
1112
- job: copr_build

0 commit comments

Comments
 (0)