1
0
mirror of https://github.com/vbrandl/bind9-api.git synced 2024-11-22 07:43:50 +01:00
bind9-api/ci/before_deploy.sh
2018-07-15 20:58:08 +02:00

16 lines
343 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
main() {
local src=$(pwd) \
stage=$src/deploy
mkdir -p $deploy
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