diff options
| -rw-r--r-- | bin/build/tasks/main.yaml | 3 | ||||
| -rw-r--r-- | mattertimesync/build/tasks/main.yaml | 3 | ||||
| -rw-r--r-- | nostr/build/tasks/main.yaml | 3 |
3 files changed, 9 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 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 |
