From 459f1705c0c082e3099d6b503fc1682304e3afc7 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Tue, 27 Oct 2020 15:13:00 +0000 Subject: [PATCH] use tar.gz to preserve permissions --- build.sh | 3 ++- deploy.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index f573cfe..db7d330 100755 --- a/build.sh +++ b/build.sh @@ -3,7 +3,8 @@ cargo build --release cp target/release/lull . strip lull -zip -r lull.zip README.md lull +rm lull-linux.tar.gz +tar -czvf lull-linux.tar.gz lull README.md rm lull zip -r sounds.zip SOUNDS.md sounds/*.mp3 diff --git a/deploy.sh b/deploy.sh index 2b70002..e3a9307 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -butler push lull.zip ruin/lull:linux +butler push lull-linux.tar.gz ruin/lull:linux butler push sounds.zip ruin/lull:sounds