File: before_deploy.sh

package info (click to toggle)
golang-github-docker-docker-credential-helpers 0.6.1-2%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 336 kB
  • sloc: ansic: 345; makefile: 77; sh: 48
file content (15 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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