1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
goreleaser/internal/pipe/gofish/testdata/TestRunPipeBinaryRelease.rb.golden
Carlos Alexandro Becker f4cef96055
feat(gofish): support binary releases (#2577)
* feat(gofish): support binary releases

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>

* fix: improve code

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-10-16 23:20:14 -03:00

39 lines
1.0 KiB
Plaintext

local name = "foo"
local version = "1.2.1"
food = {
name = name,
description = "",
license = "",
homepage = "",
version = version,
packages = {
{
os = "darwin",
arch = "amd64",
url = "https://dummyhost/download/v1.2.1/foo_macos",
sha256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
resources = {
{
path = "foo_macos",
installpath = "bin/foo",
executable = true
},
}
},
{
os = "darwin",
arch = "arm64",
url = "https://dummyhost/download/v1.2.1/foo_macos",
sha256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
resources = {
{
path = "foo_macos",
installpath = "bin/foo",
executable = true
},
}
},
}
}