Skip to content

Commit d6fa951

Browse files
author
George Aristy
committed
(#14) Fix release build
1 parent 2c8488f commit d6fa951

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

.dependency_license

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ go\.sum, Ignore
1111
\.goreleaser\.yml, Ignore
1212
\.pdd, Ignore
1313
\.travis\.yml, Ignore
14+
\.idea, Ignore

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.idea/
2+
13
" goreleaser
24
dist/
35

.goreleaser.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
# - go generate ./...
99

1010
project_name: go-gitlint
11+
before:
12+
hooks:
13+
- go mod download
1114
builds:
1215
-
1316
env:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ To run `make checks` you will need:
3030
* Ruby 2.x (for `pdd`)
3131
* [pdd](https://github.com/yegor256/pdd) (a ruby gem - `gem install pdd`)
3232
* [golangci-lint](https://github.com/golangci/golangci-lint) v1.14.0 (expected to be in the `./bin` folder)
33-
* [weasel](https://github.com/comcast/weasel)(`go get github.com/comcast/weasel`)
33+
* [weasel](https://github.com/comcast/weasel) (`go get github.com/comcast/weasel`)
3434

release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ docker run --rm --privileged \
1919
-v /var/run/docker.sock:/var/run/docker.sock \
2020
-w /go/src/github.com/user/repo \
2121
-e GITHUB_TOKEN \
22-
goreleaser/goreleaser:v0.101-cgo release
22+
-e GO111MODULE=on \
23+
goreleaser/goreleaser:v0.101 release --rm-dist

0 commit comments

Comments
 (0)