github-release 0.5.2
This commit is contained in:
parent
c44cd11614
commit
b2fdd7acfa
1 changed files with 20 additions and 0 deletions
20
Formula/github-release.rb
Normal file
20
Formula/github-release.rb
Normal file
|
@ -0,0 +1,20 @@
|
|||
require "formula"
|
||||
|
||||
class GithubRelease < Formula
|
||||
homepage "https://github.com/aktau/github-release"
|
||||
url "https://github.com/aktau/github-release/archive/v0.5.2.tar.gz"
|
||||
sha1 "684391c8bfbb80e43e9aa328b640aaca10345bd7"
|
||||
|
||||
head "https://github.com/aktau/github-release.git"
|
||||
depends_on "go" => :build
|
||||
|
||||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
system "make"
|
||||
bin.install "github-release"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/github-release", "info", "--user", "aktau", "--repo", "github-release", "--tag", "v#{version}"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue