Skip to content

Commit c1f249d

Browse files
committed
Merge branch 'release/v0.3.1'
2 parents 0f1b798 + 22eb5e9 commit c1f249d

2 files changed

Lines changed: 35 additions & 16 deletions

File tree

.goreleaser.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
builds:
2+
- main: iotit.go
3+
binary: iotit
4+
goos:
5+
- windows
6+
- darwin
7+
- linux
8+
9+
archive:
10+
format: tar.gz
11+
replacements:
12+
darwin: macos
13+
14+
brew:
15+
github:
16+
owner: xshellinc
17+
name: homebrew-iotit
18+
homepage: "https://github.com/xshellinc/iotit"
19+
description: "Go Language's command-line flashing tool for SBCs."
20+
21+
fpm:
22+
vendor: xshellinc
23+
homepage: "https://github.com/xshellinc/iotit"
24+
description: Go Language's command-line flashing tool for SBCs.
25+
license: Apache 2.0
26+
formats:
27+
- deb
28+
- rpm
29+

circle.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,16 @@ machine:
44

55
dependencies:
66
pre:
7-
- go get github.com/laher/goxc
8-
- go get github.com/tcnksm/ghr
9-
- rm -rf $HOME/.go_workspace/src/github.com/xshellinc/
10-
- mkdir -p "$GOPATH/src/$IMPORT_PATH"
11-
- rsync -azC --delete ./ "$GOPATH/src/$IMPORT_PATH/"
12-
7+
- go get github.com/goreleaser/goreleaser
8+
- gem install --no-ri --no-rdoc fpm
9+
- sudo apt-get install rpm
1310

1411
test:
15-
#pre:
16-
# - go vet ./...
17-
1812
override:
19-
# - godep go test ./...
2013
- "true"
2114

2215
deployment:
23-
upload:
24-
branch: [ master, develop ]
25-
tag: /[0-9]+(\.[0-9]+)*/
16+
tag:
17+
tag: /v[0-9]+(\.[0-9]+)*(-.*)*/
2618
commands:
27-
- git fetch --tags
28-
- make release
29-
- ./deploy.sh
19+
- goreleaser

0 commit comments

Comments
 (0)