Skip to content

Commit a94a940

Browse files
committed
Fix macOS CI deploy take 2.
1 parent daf402e commit a94a940

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci/make-release.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ export CARGO_PROFILE_RELEASE_LTO=true
1515
cargo build --bin mdbook --release
1616
cd target/release
1717
case $1 in
18-
ubuntu* | macos*)
18+
ubuntu*)
19+
asset="mdbook-$TAG-$host.tar.gz"
20+
tar czf ../../$asset mdbook
21+
;;
22+
macos*)
1923
asset="mdbook-$TAG-$host.tar.gz"
2024
# There is a bug with BSD tar on macOS where the first 8MB of the file are
2125
# sometimes all NUL bytes. See https://github.com/actions/cache/issues/403

0 commit comments

Comments
 (0)