mirror of
https://github.com/vbrandl/bind9-api.git
synced 2024-11-28 17:02:40 +01:00
15 lines
387 B
Bash
15 lines
387 B
Bash
|
#!/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
|
||
|
}
|