Skip to content

Commit

Permalink
Fix error in PHP Update dependency logic (related to cflinuxfs3-dev) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
brayanhenao authored Oct 27, 2023
1 parent fd32146 commit 44f7adf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/update-buildpack-dependency/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ def is_null(value)
version = ''

Dir["builds/binary-builds-new/#{source_name}/#{resource_version}-*.json"].each do |stack_dependency_build|
# See github.com/cloudfoundry/buildpacks-ci/pull/300 - we don't want to process the *cflinuxfs3.json files (they are replaced by *cflinuxfs3-dev.json files)
next if source_name == 'php' && stack_dependency_build.include?('cflinuxfs3.json')

if !is_null(deprecation_date) && !is_null(deprecation_link) && version_line != 'latest'
dependency_deprecation_date = {
'version_line' => version_line.downcase,
Expand Down

0 comments on commit 44f7adf

Please sign in to comment.