1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

proper versioning

This commit is contained in:
Carlos Alexandro Becker 2016-12-29 12:51:37 -02:00
parent adc266244b
commit 8892860dc4
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -18,6 +18,7 @@ const formulae = `class {{ .Name }} < Formula
homepage "{{ .Homepage }}"
url "https://github.com/{{ .Repo }}/releases/download/{{ .Tag }}/{{ .BinaryName }}_#{%x(uname -s).gsub(/\n/, '')}_#{%x(uname -m).gsub(/\n/, '')}.tar.gz"
head "https://github.com/{{ .Repo }}.git"
version "{{ .Tag }}"
def install
bin.install "{{ .BinaryName }}"