diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 7eb0ef4c64..8a5e1d7309 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -397,7 +397,13 @@ platform :android do lane :updateReleaseNotes do |options| changelog = options[:releaseNotes] version_code = options[:versionCode] - locales = ["en-US"] + auth_locales = ["en-US"] + 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 + else + locales = pw_manager_locales + end locales.each do |locale| dir = "metadata/android/#{locale}/changelogs" FileUtils.mkdir_p(dir)