From a94a940ff750b5a7fffb2d8182f1285baf598191 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 9 Sep 2020 12:05:14 -0700 Subject: [PATCH] Fix macOS CI deploy take 2. --- ci/make-release.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/make-release.sh b/ci/make-release.sh index d3b26189..761923bf 100755 --- a/ci/make-release.sh +++ b/ci/make-release.sh @@ -15,7 +15,11 @@ export CARGO_PROFILE_RELEASE_LTO=true cargo build --bin mdbook --release cd target/release case $1 in - ubuntu* | macos*) + ubuntu*) + asset="mdbook-$TAG-$host.tar.gz" + tar czf ../../$asset mdbook + ;; + macos*) asset="mdbook-$TAG-$host.tar.gz" # There is a bug with BSD tar on macOS where the first 8MB of the file are # sometimes all NUL bytes. See https://github.com/actions/cache/issues/403