mirror of
https://github.com/ericchiang/pup
synced 2024-11-27 02:18:09 +00:00
update homebrew formula to include sha256 digest
This commit is contained in:
parent
fb09a23cce
commit
dcfee170e2
16
pup.rb
16
pup.rb
@ -1,18 +1,18 @@
|
||||
# This file was generated by release.py
|
||||
# This file was generated by release.sh
|
||||
require 'formula'
|
||||
class Pup < Formula
|
||||
homepage 'https://github.com/EricChiang/pup'
|
||||
version '0.3.9'
|
||||
homepage 'https://github.com/ericchiang/pup'
|
||||
version '0.4.0'
|
||||
|
||||
if Hardware.is_64_bit?
|
||||
url 'https://github.com/EricChiang/pup/releases/download/v0.3.9/pup_darwin_amd64.zip'
|
||||
sha1 'cc7cfc54567eb5b6d6ffdb1784e5c8e462845cca'
|
||||
url 'https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_darwin_amd64.zip'
|
||||
sha256 'c539a697efee2f8e56614a54cb3b215338e00de1f6a7c2fa93144ab6e1db8ebe'
|
||||
else
|
||||
url 'https://github.com/EricChiang/pup/releases/download/v0.3.9/pup_darwin_386.zip'
|
||||
sha1 'f83ddac28176bcaca8f80e8182064f7cef62595b'
|
||||
url 'https://github.com/ericchiang/pup/releases/download/v0.4.0/pup_v0.4.0_darwin_386.zip'
|
||||
sha256 '75c27caa0008a9cc639beb7506077ad9f32facbffcc4e815e999eaf9588a527e'
|
||||
end
|
||||
|
||||
def install
|
||||
bin.install 'pup'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -51,10 +51,10 @@ class Pup < Formula
|
||||
version '0.4.0'
|
||||
|
||||
if Hardware.is_64_bit?
|
||||
url 'https://github.com/ericchiang/pup/releases/download/${VERSION}/${DARWIN_AMD64}'
|
||||
url 'https://github.com/ericchiang/pup/releases/download/v${VERSION}/${DARWIN_AMD64}'
|
||||
sha256 '$( sha256sum dist/${DARWIN_AMD64} | awk '{ print $1 }' | xargs printf )'
|
||||
else
|
||||
url 'https://github.com/ericchiang/pup/releases/download/${VERSION}/${DARWIN_386}'
|
||||
url 'https://github.com/ericchiang/pup/releases/download/v${VERSION}/${DARWIN_386}'
|
||||
sha256 '$( sha256sum dist/${DARWIN_386} | awk '{ print $1 }' | xargs printf )'
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user