Skip to content

Commit 56ff5a9

Browse files
committed
Don't build binaries on every commit
1 parent 56fa2bb commit 56ff5a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

circle.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ checkout:
1111

1212
deployment:
1313
release:
14-
branch: master
14+
tag: /v[0-9]+(\.[0-9]+)*/
1515
commands:
16-
- echo "-X main.Version=$(git describe --tags) -X main.BuildDate=$(date -u '+%Y/%m/%d-%H:%M:%S')"
1716
- go get github.com/mitchellh/gox
1817
- go get -u github.com/tcnksm/ghr
1918
- gox -ldflags "-X main.Version=$(git describe --tags) -X main.BuildDate=$(date -u '+%Y/%m/%d-%H:%M:%S')" -output "dist/lumberjack_{{.OS}}_{{.Arch}}"

0 commit comments

Comments
 (0)