diff --git a/.travis.yml b/.travis.yml index 9fde9d506..2894eb84d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,6 @@ script: - go test before_deploy: - docker pull bepsays/ci-goreleaser -- go get -u github.com/gobuffalo/packr/v2/packr2 - sh ./scripts/cross-compile.sh - git tag -f v0.0.0-alpha - git push -f --tags diff --git a/scripts/cross-compile.sh b/scripts/cross-compile.sh index 4c98a6904..7e029cbd7 100755 --- a/scripts/cross-compile.sh +++ b/scripts/cross-compile.sh @@ -1,6 +1,6 @@ #!/bin/sh -SETUP="export GO111MODULE=on; export CGO_ENABLED=1; go get -u github.com/gobuffalo/packr/v2/packr2;" +SETUP="go install github.com/gobuffalo/packr/v2/packr2; export GO111MODULE=on; export CGO_ENABLED=1;" WINDOWS="GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ packr2 build -o dist/stash-win.exe -ldflags \"-extldflags '-static'\" -tags extended -v -mod=vendor;" DARWIN="GOOS=darwin GOARCH=amd64 CC=o64-clang CXX=o64-clang++ packr2 build -o dist/stash-osx -tags extended -v -mod=vendor;" LINUX="packr2 build -o dist/stash-linux -v -mod=vendor;"