[BRE-1074] Adding debug info for failing to find release (#5673)

This commit is contained in:
Andy Pixley 2025-08-12 13:11:13 -04:00 committed by GitHub
parent 75f3065085
commit 4e1dfcaeec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 2 deletions

View File

@ -147,7 +147,8 @@ jobs:
bundle exec fastlane updateReleaseNotes \ bundle exec fastlane updateReleaseNotes \
releaseNotes:"$RELEASE_NOTES" \ releaseNotes:"$RELEASE_NOTES" \
versionCode:"$VERSION_CODE" versionCode:"$VERSION_CODE" \
packageName:"$PACKAGE_NAME"
bundle exec fastlane promoteToProduction \ bundle exec fastlane promoteToProduction \
versionCode:"$VERSION_CODE" \ versionCode:"$VERSION_CODE" \

View File

@ -387,9 +387,13 @@ platform :android do
pw_manager_locales = ["ca", "cs-CZ", "da-DK", "de-DE", "en-US", "es-ES", "et", "fr-FR", "hr", "hu-HU", "id", "it-IT", "iw-IL", "ja-JP", "nl-NL", "pl-PL", "pt-BR", "pt-PT", "ro", "ru-RU", "sk", "sv-SE", "tr-TR", "uk", "vi", "zh-CN", "zh-TW"] pw_manager_locales = ["ca", "cs-CZ", "da-DK", "de-DE", "en-US", "es-ES", "et", "fr-FR", "hr", "hu-HU", "id", "it-IT", "iw-IL", "ja-JP", "nl-NL", "pl-PL", "pt-BR", "pt-PT", "ro", "ru-RU", "sk", "sv-SE", "tr-TR", "uk", "vi", "zh-CN", "zh-TW"]
if options[:packageName] == "com.bitwarden.authenticator" if options[:packageName] == "com.bitwarden.authenticator"
locales = auth_locales locales = auth_locales
elsif options[:packageName] == "com.x8bit.bitwarden" || options[:packageName] == "com.x8bit.bitwarden.beta"
locales = pw_manager_locales
else else
UI.important "Unexpected package name: #{options[:packageName]}, using default locales"
locales = pw_manager_locales locales = pw_manager_locales
end end
locales.each do |locale| locales.each do |locale|
dir = "metadata/android/#{locale}/changelogs" dir = "metadata/android/#{locale}/changelogs"
FileUtils.mkdir_p(dir) FileUtils.mkdir_p(dir)

View File

@ -26,7 +26,6 @@ module Supply
end end
releases = track_from.releases releases = track_from.releases
UI.message("Track contents: #{track_from.to_json}")
version_code = Supply.config[:version_code].to_s version_code = Supply.config[:version_code].to_s
if !Supply.config[:skip_release_verification] if !Supply.config[:skip_release_verification]
@ -79,6 +78,8 @@ module Supply
release.user_fraction = nil release.user_fraction = nil
end end
UI.message("Promoting release with version: #{release.name} (#{release.version_codes.first})")
if track_to if track_to
# Its okay to set releases to an array containing the newest release # Its okay to set releases to an array containing the newest release
# Google Play will keep previous releases there this release is a partial rollout # Google Play will keep previous releases there this release is a partial rollout