From f2e6a27c0e9d6b0d4eb9534ceb99b693fda5af57 Mon Sep 17 00:00:00 2001 From: Antoine Gersant Date: Fri, 27 Sep 2019 22:42:20 -0700 Subject: [PATCH] Wrap content of unix releases in a top-level folder --- build_release_unix.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_release_unix.sh b/build_release_unix.sh index 283acdf..3214c30 100644 --- a/build_release_unix.sh +++ b/build_release_unix.sh @@ -1,13 +1,13 @@ #!/bin/sh echo "Creating output directory" -mkdir -p release/tmp +mkdir -p release/tmp/polaris echo "Copying package files" -cp -r web docs/swagger src migrations Cargo.toml Cargo.lock res/unix/Makefile release/tmp +cp -r web docs/swagger src migrations Cargo.toml Cargo.lock res/unix/Makefile release/tmp/polaris echo "Creating tarball" POLARIS_VERSION=$(grep -m 1 ^version Cargo.toml | awk '{print $3}' | tr -d '"\r\n') -tar -zc -C release/tmp -f release/polaris-$POLARIS_VERSION.tar.gz . +tar -zc -C release/tmp -f release/polaris-$POLARIS_VERSION.tar.gz polaris echo "Cleaning up" rm -rf release/tmp