1
0
mirror of https://github.com/vbrandl/bind9-api.git synced 2024-11-23 23:21:06 +01:00

Fix before_deploy script

This commit is contained in:
Valentin Brandl 2018-07-15 21:38:11 +02:00
parent d50bfb83dc
commit 3af4ccf2d2
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -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