From 8302b6a18c3482df011214795a109ece6301db8d Mon Sep 17 00:00:00 2001 From: AJ Bahnken Date: Thu, 21 Nov 2019 15:11:58 -0800 Subject: [PATCH] fix go mod path in go build commands --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 87cf91ef2..dd5307efe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,9 +33,9 @@ before_deploy: - mkdir dist - make deb-pkg rpm-pkg - mv *.deb *.rpm dist/ - - GOOS=darwin CGO_ENABLED=0 GO111MODULE=on go build -mod vendor -o dist/sops-${TRAVIS_TAG}.darwin go.mozilla.org/sops/cmd/sops - - GOOS=windows CGO_ENABLED=0 GO111MODULE=on go build -mod vendor -o dist/sops-${TRAVIS_TAG}.exe go.mozilla.org/sops/cmd/sops - - GOOS=linux CGO_ENABLED=0 GO111MODULE=on go build -mod vendor -o dist/sops-${TRAVIS_TAG}.linux go.mozilla.org/sops/cmd/sops + - GOOS=darwin CGO_ENABLED=0 GO111MODULE=on go build -mod vendor -o dist/sops-${TRAVIS_TAG}.darwin go.mozilla.org/sops/v3/cmd/sops + - GOOS=windows CGO_ENABLED=0 GO111MODULE=on go build -mod vendor -o dist/sops-${TRAVIS_TAG}.exe go.mozilla.org/sops/v3/cmd/sops + - GOOS=linux CGO_ENABLED=0 GO111MODULE=on go build -mod vendor -o dist/sops-${TRAVIS_TAG}.linux go.mozilla.org/sops/v3/cmd/sops - | if [ ! -z "$TRAVIS_TAG" ]; then version="v$(grep '^const Version' version/version.go |cut -d '"' -f 2)"