Skip to content

Commit

Permalink
fix: gorelease archive format updated for v0.135.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rawkode committed May 27, 2020
1 parent d22380d commit f0caf68
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions .goreleaser-nightly.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
project_name: platform
builds:
- goos:
- linux
- darwin
- linux
- darwin
goarch:
- amd64
- arm64
- amd64
- arm64
main: ./cmd/influx/
env:
- GO111MODULE=on
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.Date}}
binary: influx
- goos:
- linux
- darwin
- linux
- darwin
goarch:
- amd64
- arm64
- amd64
- arm64
main: ./cmd/influxd/
flags:
- -tags=assets
Expand All @@ -27,20 +27,19 @@ builds:
hooks:
pre: make generate

archive:
format: tar.gz
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{
.Arm }}{{ end }}'
files:
- LICENSE
- README.md
archives:
- format: tar.gz
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
files:
- LICENSE
- README.md

snapshot:
name_template: 'nightly'
name_template: "nightly"

blobs:
- provider: "s3"
Expand All @@ -52,10 +51,10 @@ dockers:
- goos: linux
goarch: amd64
binaries:
- influxd
- influx
- influxd
- influx
image_templates:
- 'quay.io/influxdb/influx:{{ .Version }}'
- "quay.io/influxdb/influx:{{ .Version }}"
dockerfile: docker/influxd/Dockerfile
extra_files:
- docker/influxd/entrypoint.sh
Expand Down

0 comments on commit f0caf68

Please sign in to comment.