diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index 3d49089..44f03b8 100755 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -3,13 +3,13 @@ set -ex main() { - local src=$(pwd) \ - stage=$src/deploy + local src=$(pwd) + local stage=$src/deploy - mkdir -p $deploy + mkdir -p $stage - cp target/x86_64-unknown-linux-musl/release/bind9-api $stage/bind9-api-${TRAVIS-TAG:1}-x86_64-musl - cp target/x86_64-unknown-linux-musl/release/bind9-api-client $stage/bind9-api-client-${TRAVIS-TAG:1}-x86_64-musl + cp target/x86_64-unknown-linux-musl/release/bind9-api $stage/bind9-api-${TRAVIS_TAG:1}-x86_64-musl + cp target/x86_64-unknown-linux-musl/release/bind9-api-client $stage/bind9-api-client-${TRAVIS_TAG:1}-x86_64-musl } main