summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2020-09-09 12:05:14 -0700
committerEric Huss <eric@huss.org>2020-09-09 12:05:14 -0700
commita94a940ff750b5a7fffb2d8182f1285baf598191 (patch)
tree1e51cd58a8b9e063f6486ff59aed2875c0ca504c
parentdaf402e1dc30c1324d92889071876d6d4686ac26 (diff)
Fix macOS CI deploy take 2.v0.4.3
-rwxr-xr-xci/make-release.sh6
1 files changed, 5 insertions, 1 deletions
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