mirror of https://github.com/mindoc-org/mindoc.git
pull/25/merge
parent
8ee4d49975
commit
33a8b3bb3d
|
@ -20,7 +20,7 @@ before_deploy:
|
|||
- sudo apt-get -qq update
|
||||
- GOARCH=amd64 GOOS=linux go build -o godoc_linux_amd64 -ldflags="-w -X main.VERSION=$TAG -X 'main.BUILD_TIME=`date`' -X 'main.GO_VERSION=`go version`'"
|
||||
- GOARCH=amd64 GOOS=darwin go build -o godoc_darwin_amd64 -ldflags="-w -X main.VERSION=$TAG -X 'main.BUILD_TIME=`date`' -X 'main.GO_VERSION=`go version`'"
|
||||
- GOARCH=amd64 GOOS=windows go build -o godoc_windows_amd64 -ldflags="-w -X main.VERSION=$TAG -X 'main.BUILD_TIME=`date`' -X 'main.GO_VERSION=`go version`'"
|
||||
- GOARCH=amd64 GOOS=windows go build -o godoc_windows_amd64.exe -ldflags="-w -X main.VERSION=$TAG -X 'main.BUILD_TIME=`date`' -X 'main.GO_VERSION=`go version`'"
|
||||
- rm -rf commands controllers models modules routers tasks vendor docs search data utils graphics .git Godeps uploads/* .gitignore .travis.yml Dockerfile gide.yaml LICENSE main.go README.md conf/enumerate.go conf/mail.go install.lock *.md
|
||||
- zip -r godoc_linux_amd64.zip conf logs static uploads views godoc_linux_amd64
|
||||
- zip -r godoc_darwin_amd64.zip conf logs static uploads views godoc_darwin_amd64
|
||||
|
@ -42,4 +42,4 @@ deploy:
|
|||
|
||||
env:
|
||||
global:
|
||||
- TAG: 0.1.2
|
||||
- TAG: 0.1.3
|
Loading…
Reference in New Issue