diff options
author | Eric Huss <eric@huss.org> | 2020-09-09 12:05:14 -0700 |
---|---|---|
committer | Eric Huss <eric@huss.org> | 2020-09-09 12:05:14 -0700 |
commit | a94a940ff750b5a7fffb2d8182f1285baf598191 (patch) | |
tree | 1e51cd58a8b9e063f6486ff59aed2875c0ca504c | |
parent | daf402e1dc30c1324d92889071876d6d4686ac26 (diff) |
Fix macOS CI deploy take 2.v0.4.3
-rwxr-xr-x | ci/make-release.sh | 6 |
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 |