diff --git a/Food/goreleaser.lua b/Food/goreleaser.lua new file mode 100644 index 000000000..674416939 --- /dev/null +++ b/Food/goreleaser.lua @@ -0,0 +1,50 @@ +local name = "goreleaser" +local version = "0.149.0" + +food = { + name = name, + description = "Deliver Go binaries as fast and easily as possible", + license = "MIT", + homepage = "https://goreleaser.com", + version = version, + packages = { + { + os = "darwin", + arch = "amd64", + url = "https://github.com/" .. name .. "/" .. name .. "/releases/download/v" .. version .. "/" .. name .. "_Darwin_x86_64.tar.gz", + sha256 = "0092bd4cdecdde2bdd0ce63658a9863cbaad063aa1519e8bdd707b875675dc05", + resources = { + { + path = name, + installpath = "bin/" .. name, + executable = true + } + } + }, + { + os = "linux", + arch = "amd64", + url = "https://github.com/" .. name .. "/" .. name .. "/releases/download/v" .. version .. "/" .. name .. "_Linux_x86_64.tar.gz", + sha256 = "a227362d734cda47f7ebed9762e6904edcd115a65084384ecfbad2baebc4c775", + resources = { + { + path = name, + installpath = "bin/" .. name, + executable = true + } + } + }, + { + os = "windows", + arch = "amd64", + url = "https://github.com/" .. name .. "/" .. name .. "/releases/download/v" .. version .. "/" .. name .. "_Windows_x86_64.zip", + sha256 = "394f5aa2744594545d5cba57e9b093d6fe23b90e7f9dc2e1f790cf933d566747", + resources = { + { + path = name .. ".exe", + installpath = "bin\\" .. name .. ".exe" + } + } + } + } +}