Skip to content

Commit f9fd201

Browse files
author
Thinh Nguyen
committed
Add deployment section to circle.
1 parent 185a117 commit f9fd201

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

circle.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ test:
2424
- godep go test -v ./...
2525
post:
2626
- gox -os="linux darwin" -arch="amd64"
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
27+
- mkdir release && mv go-adx-parser_* release/
28+
- cp -r release $CIRCLE_ARTIFACTS
29+
30+
deployment:
31+
release:
32+
branch: master
33+
commands:
34+
- gh-release create taik/go-adx-parser $CIRCLE_BUILD_NUM

0 commit comments

Comments
 (0)