Offer .tar.gz releases

The zip/unzip commands aren't installed by default on most Linux
distros. However, tar is almost always installed. Additionally, users
may get confused when they try to uncompress an archive with
gzip/gunzip, only for it to fail because gunzip is for .gz files, not
.zip.

This change makes it a little easier to grab a copy of a nats-server
release binary.
This commit is contained in:
Jaime Piña
2020-09-08 12:05:12 -07:00
parent 92e00f2a40
commit 0223f381c9

View File

@@ -52,6 +52,13 @@ archives:
files:
- README.md
- LICENSE
- name_template: '{{.ProjectName}}-{{.Tag}}-{{.Os}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'
id: targz-archives
wrap_in_directory: true
format: tar.gz
files:
- README.md
- LICENSE
checksum:
name_template: 'SHA256SUMS'