File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ machine:
55 post :
66 - gvm install go1.4.2 --name=stable --binary --with-protobuf --with-build-tools
77 - gvm use stable --default
8+ # Gox -- cross-compile
89 - go get github.com/mitchellh/gox
910 - gox -build-toolchain -os="linux darwin" -arch="amd64" -cgo
11+ # gh-release
12+ - curl -L https://github.com/progrium/gh-release/releases/download/v2.2.0/gh-release_2.2.0_linux_x86_64.tgz | tar -xz
13+ - chmod +x gh-release && sudo mv gh-release /usr/local/bin/
1014
1115dependencies :
1216 pre :
2024 - godep go test -v ./...
2125 post :
2226 - gox -os="linux darwin" -arch="amd64"
23- - mv go-adx-parser_* $CIRCLE_ARTIFACTS/
27+ - mkdir $CIRCLE_ARTIFACTS/release
28+ - mv go-adx-parser_* $CIRCLE_ARTIFACTS/release/
29+ - gh-release create taik/go-adx-parser $CIRCLE_BUILD_NUM :
30+ pwd : $CIRCLE_ARTIFACTS
You can’t perform that action at this time.
0 commit comments