Skip to content

Commit

Permalink
fix go mod path in go build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ajvb committed Nov 21, 2019
1 parent bc4b747 commit 8302b6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -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)"
Expand Down

0 comments on commit 8302b6a

Please sign in to comment.