1
0
mirror of https://github.com/vbrandl/bind9-api.git synced 2024-11-22 16:33:51 +01:00
bind9-api/ci/before_deploy.sh

16 lines
338 B
Bash
Raw Normal View History

2018-07-08 01:08:56 +02:00
#!/usr/bin/env bash
set -ex
main() {
2018-07-15 21:38:11 +02:00
local src=$(pwd)
local stage=$src/deploy
2018-07-08 01:08:56 +02:00
2018-07-15 21:38:11 +02:00
mkdir -p $stage
2018-07-08 01:08:56 +02:00
2018-07-15 21:38:11 +02:00
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