Skip to content

Commit b8ec60c

Browse files
committed
Add goreleaser to go.mod
Not a direct dependency, but we might as well pin it.
1 parent af14441 commit b8ec60c

File tree

3 files changed

+257
-7
lines changed

3 files changed

+257
-7
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ clean:
2424

2525
generate: install
2626
go install github.com/tinylib/msgp
27+
go install github.com/goadesign/goa/goagen
2728
go generate ${PROJECT}
2829
go generate ${PROJECT}/api
2930
goimports -w .
@@ -39,6 +40,7 @@ build: install
3940
${BUILD_ARCH} go build -o bin/go-ranks-cli ${PROJECT}/api/tool/rankdb-cli
4041

4142
dist: build
43+
go install github.com/goreleaser/goreleaser
4244
goreleaser --snapshot --skip-publish --rm-dist
4345

4446
install:
@@ -48,3 +50,7 @@ install:
4850

4951
commit:
5052
@echo ${COMMIT_SHORT}
53+
54+
push-image:
55+
docker push ${IMAGE}:${VERSION}
56+
docker push ${IMAGE}:latest

go.mod

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,29 @@ require (
44
github.com/BurntSushi/toml v0.3.1
55
github.com/aerospike/aerospike-client-go v2.2.0+incompatible
66
github.com/armon/go-metrics v0.0.0-20170913184837-0a12dc6f6b9d // indirect
7-
github.com/aws/aws-sdk-go v0.0.0-20170929222832-5a2026bfb28e
7+
github.com/aws/aws-sdk-go v1.19.16
88
github.com/cenkalti/backoff v0.0.0-20170921171023-61ba96c4d100
99
github.com/dgraph-io/badger v1.6.0
10-
github.com/dgrijalva/jwt-go v0.0.0-20170608005149-a539ee1a749a
10+
github.com/dgrijalva/jwt-go v3.2.0+incompatible
1111
github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect
1212
github.com/dimfeld/httptreemux v4.0.1+incompatible // indirect
1313
github.com/etcd-io/bbolt v1.3.3
1414
github.com/go-ini/ini v1.42.0 // indirect
1515
github.com/goadesign/goa v1.4.1
1616
github.com/gofrs/uuid v3.2.0+incompatible // indirect
17-
github.com/google/go-cmp v0.0.0-20170718200728-1a281611eb75
17+
github.com/google/go-cmp v0.3.0
1818
github.com/google/gxui v0.0.0-20151028112939-f85e0a97b3a4 // indirect
19+
github.com/goreleaser/goreleaser v0.113.0
1920
github.com/hashicorp/go-immutable-radix v0.0.0-20170725221215-8aac27015308 // indirect
20-
github.com/hashicorp/golang-lru v0.0.0-20160813221303-0a025b7e63ad
21+
github.com/hashicorp/golang-lru v0.5.1
2122
github.com/hashicorp/uuid v0.0.0-20160311170451-ebb0a03e909c // indirect
22-
github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af // indirect
2323
github.com/klauspost/compress v1.7.4
2424
github.com/klauspost/cpuid v1.2.1 // indirect
2525
github.com/klauspost/readahead v1.3.0
2626
github.com/klauspost/shutdown2 v1.1.0
2727
github.com/manveru/faker v0.0.0-20160419072036-717f7cf83fb7 // indirect
2828
github.com/manveru/gobdd v0.0.0-20131210092515-f1a17fdd710b // indirect
29-
github.com/mattn/go-colorable v0.0.0-20170327083344-ded68f7a9561
29+
github.com/mattn/go-colorable v0.0.9
3030
github.com/mattn/go-isatty v0.0.8 // indirect
3131
github.com/newrelic/go-agent v1.5.0
3232
github.com/onsi/ginkgo v1.8.0 // indirect
@@ -42,6 +42,5 @@ require (
4242
github.com/zach-klippenstein/goregen v0.0.0-20160303162051-795b5e3961ea // indirect
4343
go.etcd.io/bbolt v1.3.3 // indirect
4444
golang.org/x/lint v0.0.0-20190409202823-959b441ac422
45-
golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect
4645
gopkg.in/ini.v1 v1.42.0 // indirect
4746
)

0 commit comments

Comments
 (0)