Skip to content

Commit

Permalink
Merge pull request chromebrew#903 from uberhacker/add-github_release-…
Browse files Browse the repository at this point in the history
…package

Add github_release package
  • Loading branch information
lyxell authored Jul 25, 2017
2 parents d831445 + 86790bc commit dc36290
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions packages/github_release.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
require 'package'

class Github_release < Package
description 'Commandline app to create and edit releases on Github (and upload artifacts)'
homepage 'https://github.com/aktau/github-release'
version '0.7.2'
source_url 'https://github.com/aktau/github-release/archive/v0.7.2.tar.gz'
source_sha256 '057d57b01cd45d0316e2d32b7593ff0f4bb493d4767b5701b21b54301d74ff48'

depends_on 'go'

def self.build
system 'make'
end

def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "cp github-release #{CREW_DEST_DIR}/usr/local/bin"
end
end

0 comments on commit dc36290

Please sign in to comment.