Skip to content

Commit

Permalink
Ensure package are built into different directories and avoid collision
Browse files Browse the repository at this point in the history
  • Loading branch information
mh-cbon committed Jul 11, 2016
1 parent adb84d7 commit a6b09b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ before_deploy:
- mkdir -p build/{386,amd64}
- GOOS=linux GOARCH=386 go build -o build/386/go-bin-deb main.go
- GOOS=linux GOARCH=amd64 go build -o build/amd64/go-bin-deb main.go
- go-bin-deb generate -a 386 --version ${TRAVIS_TAG} -o ${TRAVIS_BUILD_DIR}/go-bin-deb-386.deb
- go-bin-deb generate -a amd64 --version ${TRAVIS_TAG} -o ${TRAVIS_BUILD_DIR}/go-bin-deb-amd64.deb
- go-bin-deb generate -a 386 --version ${TRAVIS_TAG} -w pkg-build-386/ -o ${TRAVIS_BUILD_DIR}/go-bin-deb-386.deb
- go-bin-deb generate -a amd64 --version ${TRAVIS_TAG} -w pkg-build-amd64/ -o ${TRAVIS_BUILD_DIR}/go-bin-deb-amd64.deb
deploy:
provider: releases
api_key:
Expand Down

0 comments on commit a6b09b2

Please sign in to comment.