Files
nats-server/.goreleaser-nightly.yml
Ivan Kozlovic 59eef192cd Prepare for release v2.7.0, start with v2.7.0-rc1
Since we have never released with goreleaser and GO111MODULE=on
and have removed vendor directory, we are going to push a
v2.7.0-rc1 tag. If the goreleaser process works fine and submit
the draft release correctly, we will not do an actual v2.7.0-rc1
release. Instead, we will follow up immediately with the v2.7.0
tag and the proper release.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2022-01-13 16:15:51 -07:00

36 lines
755 B
YAML

project_name: nats-server
builds:
- main: ./main.go
id: nats-server
binary: nats-server
ldflags:
- -w -X github.com/nats-io/nats-server/server.gitCommit={{.ShortCommit}}
env:
- GO111MODULE=on
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
dockers:
- goos: linux
goarch: amd64
skip_push: true
dockerfile: docker/Dockerfile.nightly
build_flag_templates:
- '--build-arg=VERSION=nightly-{{ time "20060102" }}'
image_templates:
- synadia/nats-server:{{.Version}}
- synadia/nats-server:nightly
extra_files:
- docker/nats-server.conf
checksum:
name_template: 'SHA256SUMS'
algorithm: sha256
snapshot:
name_template: 'nightly-{{ time "20060102" }}'