Skip to content

Commit

Permalink
update goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Mar 11, 2021
1 parent 10b3865 commit 785d91d
Show file tree
Hide file tree
Showing 6 changed files with 343 additions and 161 deletions.
21 changes: 6 additions & 15 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
project_name: sidekick

release:
name_template: "Release version {{.Tag}}"
name_template: "Release version {{.Version}}"

github:
owner: minio
name: sidekick
extra_files:
- glob: "*.minisig"
- glob: "*.zip"
owner: minio
name: sidekick

before:
hooks:
- go mod tidy
- go mod download

builds:
-
Expand All @@ -28,19 +23,15 @@ builds:
- ppc64le
- s390x
ignore:
- goos: darwin
goarch: arm64
- goos: windows
goarch: arm64
env:
- CGO_ENABLED=0

flags:
- -trimpath
- --tags=kqueue

ldflags:
- -s -w -X github.com/minio/sidekick/pkg.ReleaseTag={{.Tag}} -X github.com/minio/sidekick/pkg.CommitID={{.FullCommit}} -X github.com/minio/sidekick/pkg.Version={{.Version}} -X github.com/minio/sidekick/pkg.ShortCommitID={{.ShortCommit}} -X github.com/minio/sidekick/pkg.ReleaseTime={{.Date}}
- "-s -w -X main.version={{.Version}}"

archives:
-
Expand All @@ -52,7 +43,7 @@ nfpms:
vendor: MinIO, Inc.
homepage: https://github.com/minio/sidekick
maintainer: MinIO Development <dev@min.io>
description: Sidekick is a high-performance sidecar load-balancer
description: SideKick is a high-performance sidecar load-balancer.
license: GNU Affero General Public License v3.0
formats:
- deb
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ docker pull minio/sidekick
GO111MODULE=on go get github.com/minio/sidekick/cmd/sidekick
```
> You will need a working Go environment. Therefore, please follow [How to install Go](https://golang.org/doc/install).
> Minimum version required is go1.14
> Minimum version required is go1.16

# Usage
Expand Down
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ go 1.13

require (
github.com/dustin/go-humanize v1.0.0
github.com/fatih/color v1.7.0
github.com/fatih/color v1.10.0
github.com/gdamore/tcell v1.3.0
github.com/gopherjs/gopherjs v0.0.0-20190328170749-bb2674552d8f // indirect
github.com/gorilla/mux v1.8.0
github.com/minio/cli v1.22.0
github.com/minio/minio v0.0.0-20201110211835-9f4ad873bccd
github.com/minio/minio-go/v7 v7.0.6-0.20200929220449-755b5633803a
github.com/prometheus/client_golang v1.0.0
github.com/minio/minio v0.0.0-20210311215703-feafccf0072a
github.com/minio/minio-go/v7 v7.0.11-0.20210302210017-6ae69c73ce78
github.com/prometheus/client_golang v1.8.0
github.com/rivo/tview v0.0.0-20200507165325-823f280c5426
github.com/sirupsen/logrus v1.6.0
github.com/sirupsen/logrus v1.8.0
go.uber.org/atomic v1.6.0
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a
golang.org/x/net v0.0.0-20200904194848-62affa334b73
golang.org/x/crypto v0.0.0-20201124201722-c8d3bf9c5392
golang.org/x/net v0.0.0-20201216054612-986b41b23924
)
Loading

0 comments on commit 785d91d

Please sign in to comment.