Skip to content

Commit 2d21690

Browse files
author
Packit Build
committed
remove archive
1 parent 637d288 commit 2d21690

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

.packit.yaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
specfile_path: greenboot-rs.spec
44

55
files_to_sync:
6-
- greenboot-rs.spec
7-
- .packit.yaml
6+
src:
7+
- "greenboot-rs.spec"
8+
- ".packit.yaml"
89
- "greenboot-rs-*.tar.xz"
9-
10+
dest: .
11+
1012
upstream_package_name: greenboot-rs
1113
downstream_package_name: greenboot-rs
1214

@@ -23,13 +25,6 @@ srpm_build_deps:
2325
actions:
2426
get-current-version:
2527
- grep -oP '^Version:\s+\K\S+' greenboot-rs.spec
26-
create-archive:
27-
# Create main source archive for spec compatibility
28-
- bash -c "git archive --prefix=greenboot-rs-${PACKIT_PROJECT_VERSION}/ --format=tar HEAD > greenboot-rs-${PACKIT_PROJECT_VERSION}.tar"
29-
- bash -c "tar -xvf greenboot-rs-${PACKIT_PROJECT_VERSION}.tar"
30-
- bash -c "tar -czf greenboot-rs-${PACKIT_PROJECT_VERSION}.tar.gz greenboot-rs-${PACKIT_PROJECT_VERSION}"
31-
- bash -c "rm -rf greenboot-rs-${PACKIT_PROJECT_VERSION} greenboot-rs-${PACKIT_PROJECT_VERSION}.tar"
32-
- bash -c "ls -1 ./greenboot-rs-*.tar.gz"
3328
post-upstream-clone:
3429
- "sed -i '/^%global forgeurl/d' greenboot-rs.spec"
3530
- "sed -i '/^%forgemeta/d' greenboot-rs.spec"

0 commit comments

Comments
 (0)