mirror of
https://github.com/bitwarden/android.git
synced 2025-12-10 09:56:45 -06:00
[BRE-1074] Adding debug info for failing to find release (#5673)
This commit is contained in:
parent
75f3065085
commit
4e1dfcaeec
3
.github/workflows/publish-store.yml
vendored
3
.github/workflows/publish-store.yml
vendored
@ -147,7 +147,8 @@ jobs:
|
||||
|
||||
bundle exec fastlane updateReleaseNotes \
|
||||
releaseNotes:"$RELEASE_NOTES" \
|
||||
versionCode:"$VERSION_CODE"
|
||||
versionCode:"$VERSION_CODE" \
|
||||
packageName:"$PACKAGE_NAME"
|
||||
|
||||
bundle exec fastlane promoteToProduction \
|
||||
versionCode:"$VERSION_CODE" \
|
||||
|
||||
@ -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"]
|
||||
if options[:packageName] == "com.bitwarden.authenticator"
|
||||
locales = auth_locales
|
||||
elsif options[:packageName] == "com.x8bit.bitwarden" || options[:packageName] == "com.x8bit.bitwarden.beta"
|
||||
locales = pw_manager_locales
|
||||
else
|
||||
UI.important "Unexpected package name: #{options[:packageName]}, using default locales"
|
||||
locales = pw_manager_locales
|
||||
end
|
||||
|
||||
locales.each do |locale|
|
||||
dir = "metadata/android/#{locale}/changelogs"
|
||||
FileUtils.mkdir_p(dir)
|
||||
|
||||
@ -26,7 +26,6 @@ module Supply
|
||||
end
|
||||
|
||||
releases = track_from.releases
|
||||
UI.message("Track contents: #{track_from.to_json}")
|
||||
|
||||
version_code = Supply.config[:version_code].to_s
|
||||
if !Supply.config[:skip_release_verification]
|
||||
@ -79,6 +78,8 @@ module Supply
|
||||
release.user_fraction = nil
|
||||
end
|
||||
|
||||
UI.message("Promoting release with version: #{release.name} (#{release.version_codes.first})")
|
||||
|
||||
if track_to
|
||||
# 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user