Move version file, fix oidc, make jobs use envs

This commit is contained in:
Dan Milne
2025-12-01 15:59:26 +11:00
parent 3eddfe9f7e
commit 54d9c3a0d9
5 changed files with 125 additions and 6 deletions

View File

@@ -140,7 +140,7 @@ end
# Add application-specific context
app_version = begin
File.read(Rails.root.join('VERSION')).strip
BaffleHub::VERSION
rescue
ENV['APP_VERSION'] || ENV['GIT_COMMIT_SHA']&.[](0..7) || 'unknown'
end