src.nth.io/

summaryrefslogtreecommitdiff
path: root/mattertimesync/build/tasks
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 /mattertimesync/build/tasks
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 'mattertimesync/build/tasks')
-rw-r--r--mattertimesync/build/tasks/main.yaml3
1 files changed, 3 insertions, 0 deletions
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