Skip to content

Commit

Permalink
Add Heroku-20 to the download presence check (#1093)
Browse files Browse the repository at this point in the history
Since Heroku-20 is now in public beta, so it's fine for the
buildpack to reference it in build output.

See:
https://devcenter.heroku.com/changelog-items/1937

Closes W-8250744.
  • Loading branch information
edmorley authored Oct 22, 2020
1 parent 10e3987 commit ddffada
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Main (unreleased)

* Remove excessive Active Storage warnings (https://github.com/heroku/heroku-buildpack-ruby/pull/1087)
* Add Heroku-20 to the download presence check (https://github.com/heroku/heroku-buildpack-ruby/pull/1093)

## v220 (8/7/2020)

Expand Down
4 changes: 2 additions & 2 deletions lib/language_pack/helpers/download_presence.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
#
# download = LanguagePack::Helpers::DownloadPresence.new(
# 'ruby-1.9.3.tgz',
# stacks: ['cedar-14', 'heroku-16', 'heroku-18']
# stacks: ['cedar-14', 'heroku-16', 'heroku-18', 'heroku-20']
# )
#
# download.call
#
# puts download.exists? #=> true
# puts download.valid_stack_list #=> ['cedar-14']
class LanguagePack::Helpers::DownloadPresence
STACKS = ['cedar-14', 'heroku-16', 'heroku-18']
STACKS = ['cedar-14', 'heroku-16', 'heroku-18', 'heroku-20']

def initialize(path, stacks: STACKS)
@path = path
Expand Down

0 comments on commit ddffada

Please sign in to comment.