mirror of https://github.com/stashapp/stash.git
Fix CI
This commit is contained in:
parent
d0331c53dc
commit
9aba952dbe
|
@ -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
|
||||
|
|
|
@ -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;"
|
||||
|
|
Loading…
Reference in New Issue