1
0
mirror of https://github.com/vbrandl/bind9-api.git synced 2024-12-04 09:41:54 +01:00
bind9-api/ci/before_deploy.sh
2018-07-15 21:38:11 +02:00

16 lines
338 B
Bash
Executable File

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