From 28c1fc8ea39f0fdb244f08f386ed81a2c68c0f5c Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 26 Jul 2026 16:31:56 -0500 Subject: build roles: force real tarballs for single-file artifacts community.general.archive (>=10) compresses a lone file into a bare .gz instead of a tarball, so the mattertimesync/bin/nostr artifacts failed the server-side unarchive. Set force_archive: true so the archive module emits a real single-member .tar.gz, consistent with the multi-file dendrite/pleroma builds. --- bin/build/tasks/main.yaml | 3 +++ mattertimesync/build/tasks/main.yaml | 3 +++ nostr/build/tasks/main.yaml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/bin/build/tasks/main.yaml b/bin/build/tasks/main.yaml index b29b23e..2a29635 100644 --- a/bin/build/tasks/main.yaml +++ b/bin/build/tasks/main.yaml @@ -35,4 +35,7 @@ path: "{{bin_build_dir}}/target/release/bin" dest: "{{bin_srv_dir}}/bin-{{bin_version}}.tar.gz" format: "gz" + # force a real tar for the single binary; the module otherwise gzips a lone + # file into a bare .gz that the server's unarchive can't extract. + force_archive: true when: not build_file.stat.exists diff --git a/mattertimesync/build/tasks/main.yaml b/mattertimesync/build/tasks/main.yaml index f9c0341..e846f9c 100644 --- a/mattertimesync/build/tasks/main.yaml +++ b/mattertimesync/build/tasks/main.yaml @@ -38,4 +38,7 @@ path: "{{mattertimesync_build_dir}}/mattertimesync.mjs" dest: "{{mattertimesync_srv_dir}}/mattertimesync-{{mattertimesync_version}}.tar.gz" format: "gz" + # force a real tar for the single-file bundle; the module otherwise gzips a + # lone file into a bare .gz that the server's unarchive can't extract. + force_archive: true when: not build_file.stat.exists diff --git a/nostr/build/tasks/main.yaml b/nostr/build/tasks/main.yaml index e526412..1b0d9a4 100644 --- a/nostr/build/tasks/main.yaml +++ b/nostr/build/tasks/main.yaml @@ -82,4 +82,7 @@ path: "{{relayer_build_dir}}/relayer" dest: "{{relayer_srv_dir}}/nostr-relayer-whitelisted-{{relayer_version}}.tar.gz" format: "gz" + # force a real tar for the single binary; the module otherwise gzips a lone + # file into a bare .gz that the server's unarchive can't extract. + force_archive: true when: not build_file.stat.exists -- cgit v1.2.3