1
0
mirror of https://github.com/vbrandl/bind9-api.git synced 2024-11-28 21:42:38 +01:00
bind9-api/ci/before_deploy.sh

15 lines
387 B
Bash
Raw Normal View History

2018-07-08 01:08:56 +02:00
#!/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
}