mirror of
https://github.com/genuinetools/reg.git
synced 2024-10-03 22:01:45 -04:00
16 lines
461 B
Bash
16 lines
461 B
Bash
|
set -ex
|
||
|
|
||
|
mkdir bin
|
||
|
case "$TRAVIS_OS_NAME" in
|
||
|
"osx")
|
||
|
go build -o bin/docker-credential-osxkeychain osxkeychain/cmd/main_darwin.go
|
||
|
cd bin
|
||
|
tar czf ../docker-credential-osxkeychain-${TRAVIS_TAG}-amd64.tar.gz docker-credential-osxkeychain
|
||
|
;;
|
||
|
"linux")
|
||
|
go build -o bin/docker-credential-secretservice secretservice/cmd/main_linux.go
|
||
|
cd bin
|
||
|
tar czf ../docker-credential-secretservice-${TRAVIS_TAG}-amd64.tar.gz docker-credential-secretservice
|
||
|
;;
|
||
|
esac
|