Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
Former-commit-id: 9f1a5b1
  • Loading branch information
ppwfx committed Mar 7, 2020
1 parent 33443f9 commit 683407c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
5 changes: 4 additions & 1 deletion metamate/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ build:
@${SOURCE_MAKE} && build

chore:
@${SOURCE_MAKE} && chore
@${SOURCE_MAKE} && chore

release:
@${SOURCE_MAKE} && release
27 changes: 27 additions & 0 deletions metamate/make/.goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
project_name: metamate
before:
hooks:
- go mod download
builds:
- main: ./cmd/metamate/main.go
env:
- CGO_ENABLED=0
archives:
- replacements:
darwin: Darwin
linux: Linux
windows: Windows
386: i386
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- Merge pull request
- Merge branch
4 changes: 4 additions & 0 deletions metamate/make/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ function chore {
go fmt ./...
go vet ./...
golint ./...
}

function release {
goreleaser release --rm-dist -f make/.goreleaser.yml
}

0 comments on commit 683407c

Please sign in to comment.