From 36ba73bfc62a0a61426c0205bcd0eb47fdaf34cb Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Thu, 22 Oct 2020 15:11:10 +0100 Subject: [PATCH] Add Heroku-20 to the download presence check 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. --- CHANGELOG.md | 1 + lib/language_pack/helpers/download_presence.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 943cb7453..7cfd7f149 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/lib/language_pack/helpers/download_presence.rb b/lib/language_pack/helpers/download_presence.rb index 9f9430ad6..1392b22ad 100644 --- a/lib/language_pack/helpers/download_presence.rb +++ b/lib/language_pack/helpers/download_presence.rb @@ -8,7 +8,7 @@ # # 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 @@ -16,7 +16,7 @@ # 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