Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Łukasz Nowak
chromebrew
Commits
4a8394a9
Commit
4a8394a9
authored
Jul 29, 2017
by
Ed Reel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update heroku from 4.28.3 to 6.13.5
parent
98f46c80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
11 deletions
+22
-11
packages/heroku.rb
packages/heroku.rb
+22
-11
No files found.
packages/heroku.rb
View file @
4a8394a9
...
...
@@ -3,15 +3,26 @@ require 'package'
class
Heroku
<
Package
description
'The Heroku Command Line Interface (CLI), formerly known as the Heroku Toolbelt, is a tool for creating and managing Heroku apps from the command line / shell of various operating systems.'
homepage
'https://devcenter.heroku.com/articles/heroku-cli'
version
'4.28.3'
binary_url
({
armv7l:
"https://drive.google.com/uc?export=download&id=0ByCixsDmZPzxOHFIMzQyNHNFUWc"
,
i686:
"https://drive.google.com/uc?export=download&id=0ByCixsDmZPzxd3NULTRkMWlHQTA"
,
x86_64:
"https://drive.google.com/uc?export=download&id=0ByCixsDmZPzxLURkMktpREpDZk0"
})
binary_sha256
({
armv7l:
"b7fab53d3c8cfd42d41c1b07db069c9fd5f7261fcea48fd99114981cf1a293d7"
,
i686:
"1e73fbff3a10c0c95dd1aa1cf68952a95a330634fa410765962df0396315a42c"
,
x86_64:
"9259cd8b5d7aaeb9172142b5956ad767a3d4f1bcf126e51a7f4a8c055e53c068"
})
version
'6.13.5'
source_url
'https://github.com/heroku/cli/archive/v6.13.5.tar.gz'
source_sha256
'769943a2e272f9b9332d85cfd5d4f49a7a3070a06b81e6da1cb33b4723a85607'
def
self
.
install
case
ARCH
when
'i686'
system
'wget https://cli-assets.heroku.com/heroku-cli/channels/stable/heroku-cli-linux-x86.tar.gz -O heroku-cli.tar.gz'
when
'x86_64'
system
'wget https://cli-assets.heroku.com/heroku-cli/channels/stable/heroku-cli-linux-x64.tar.gz -O heroku-cli.tar.gz'
else
abort
'Architecture not supported.'
.
lightred
end
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local/bin"
system
"mkdir -p
#{
CREW_DEST_DIR
}
/usr/local/lib"
system
"tar xvf heroku-cli.tar.gz"
system
"mv heroku-cli-v* heroku-cli-linux-
#{
ARCH
}
"
system
"mv heroku-cli-linux-
#{
ARCH
}
#{
CREW_DEST_DIR
}
/usr/local/lib"
FileUtils
.
cd
(
"
#{
CREW_DEST_DIR
}
/usr/local/bin"
)
do
system
"ln -s /usr/local/lib/heroku-cli-linux-
#{
ARCH
}
/bin/heroku heroku"
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment