Skip to content

Commit

Permalink
(#14) Fix release build
Browse files Browse the repository at this point in the history
  • Loading branch information
George Aristy committed Feb 20, 2019
1 parent 2c8488f commit d6fa951
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .dependency_license
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ go\.sum, Ignore
\.goreleaser\.yml, Ignore
\.pdd, Ignore
\.travis\.yml, Ignore
\.idea, Ignore
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea/

" goreleaser
dist/

Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
# - go generate ./...

project_name: go-gitlint
before:
hooks:
- go mod download
builds:
-
env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ To run `make checks` you will need:
* Ruby 2.x (for `pdd`)
* [pdd](https://github.com/yegor256/pdd) (a ruby gem - `gem install pdd`)
* [golangci-lint](https://github.com/golangci/golangci-lint) v1.14.0 (expected to be in the `./bin` folder)
* [weasel](https://github.com/comcast/weasel)(`go get github.com/comcast/weasel`)
* [weasel](https://github.com/comcast/weasel) (`go get github.com/comcast/weasel`)

3 changes: 2 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ docker run --rm --privileged \
-v /var/run/docker.sock:/var/run/docker.sock \
-w /go/src/github.com/user/repo \
-e GITHUB_TOKEN \
goreleaser/goreleaser:v0.101-cgo release
-e GO111MODULE=on \
goreleaser/goreleaser:v0.101 release --rm-dist

0 comments on commit d6fa951

Please sign in to comment.