File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ box : tcnksm/gox
2+ build :
3+ steps :
4+ - setup-go-workspace
5+ - script :
6+ name : show environments
7+ code : |
8+ git version
9+ go version
10+ - script :
11+ name : go get
12+ code : |
13+ go get -t ./...
14+ - script :
15+ name : go test
16+ code : |
17+ go test -v ./...
18+ deploy :
19+ steps :
20+ - setup-go-workspace
21+ - script :
22+ name : go get
23+ code : |
24+ go get ./...
25+ - wercker/gox :
26+ os : darwin linux windows
27+ arch : 386 amd64
28+ output : ' {{.Dir}}_{{.OS}}_{{.Arch}}/{{.Dir}}'
29+ dest : $WERCKER_OUTPUT_DIR/pkg
30+ - tcnksm/zip :
31+ input : $WERCKER_OUTPUT_DIR/pkg
32+ output : $WERCKER_OUTPUT_DIR/dist
33+ - script :
34+ name : set release tag
35+ code : |
36+ if [ -n "$GOBUMP_NEW_VERSION" ]; then
37+ export RELEASE_TAG="v$GOBUMP_NEW_VERSION"
38+ fi
39+ - tcnksm/ghr :
40+ token : $GITHUB_TOKEN
41+ input : $WERCKER_OUTPUT_DIR/dist
42+ replace : true
43+ version : $RELEASE_TAG
44+ opt : --draft
45+
You can’t perform that action at this time.
0 commit comments