1
0
mirror of https://github.com/vbrandl/bind9-api.git synced 2024-11-28 19:22:39 +01:00
bind9-api/ci/before_deploy.sh
2018-07-08 01:08:56 +02:00

15 lines
387 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
main() {
local src=$(pwd) \
stage=$src/deploy
mkdir -p $deploy
test -f Cargo.lock || cargo generate-lockfile
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
}