Skip to content

Commit

Permalink
Small fix for default repo in release generator
Browse files Browse the repository at this point in the history
  • Loading branch information
brayanhenao committed Feb 28, 2024
1 parent c6fe978 commit fa50f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/generate-rootfs-release-notes/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
}.fetch(stack) { raise "Unsupported stack: #{stack}" }

stack_repo = ENV['STACK_REPO']
stack_repo ||= "cloudfoundry/#{stack}"
stack_repo = stack_repo.nil? || stack_repo.empty? ? "cloudfoundry/#{stack}" : stack_repo

puts "Generating release notes for repo: #{stack_repo}"

Expand Down

0 comments on commit fa50f93

Please sign in to comment.