src.nth.io/

summaryrefslogtreecommitdiff
path: root/bin/build
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-07-26 16:31:56 -0500
committerLuke Hoersten <[email protected]>2026-07-26 16:31:56 -0500
commit28c1fc8ea39f0fdb244f08f386ed81a2c68c0f5c (patch)
tree4b935824a70027dfde715d52e6acee4a4f21f2f6 /bin/build
parent9ee6ba2824ab46690865869da805b68d7e46b0e5 (diff)
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.
Diffstat (limited to 'bin/build')
-rw-r--r--bin/build/tasks/main.yaml3
1 files changed, 3 insertions, 0 deletions
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