From a6b09b291b79f5a2528c2ff53035f84aead1252d Mon Sep 17 00:00:00 2001 From: mh-cbon Date: Mon, 11 Jul 2016 20:03:07 +0200 Subject: [PATCH] Ensure package are built into different directories and avoid collision --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 00a0ecf..c61ca9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: