We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 699df34 + bf94c2d commit 4626ba5Copy full SHA for 4626ba5
Formula/g/github-release.rb
@@ -23,11 +23,14 @@ class GithubRelease < Formula
23
24
depends_on "go" => :build
25
26
+ # upstream PR ref, https://github.com/github-release/github-release/pull/129
27
+ patch do
28
+ url "https://github.com/github-release/github-release/commit/074f4e8e1688642f50a7a3cc92b5777c7b484139.patch?full_index=1"
29
+ sha256 "4d7d4ae04642ab48b16ab6e31b0e0f989cc7750dc29123dc8164c629b9523c2e"
30
+ end
31
+
32
def install
- ENV["GOPATH"] = buildpath
- ENV["GO111MODULE"] = "auto"
- system "make"
- bin.install "github-release"
33
+ system "go", "build", *std_go_args(ldflags: "-s -w")
34
end
35
36
test do
0 commit comments