diff --git a/bin/package b/bin/package index 146b71a..63f7890 100755 --- a/bin/package +++ b/bin/package @@ -15,6 +15,10 @@ test -f Cargo.lock || cargo generate-lockfile echo "Building $bin..." +if [ "$os" = "ubuntu-latest" ]; then + sudo apt-get install musl-tools +fi + case $os in ubuntu-latest | macos-latest) cargo rustc --bin $bin --target $target --release -- -C lto @@ -33,7 +37,7 @@ cp \ Cargo.lock \ Cargo.toml \ CHANGELOG.md \ - CONTRIBUTING.md \ + CONTRIBUTING \ LICENSE \ README.md \ $dist