Skip to content

Commit 1e8c36e

Browse files
committed
Adds update_appstore_strings_in_ci lane
1 parent 686f0f6 commit 1e8c36e

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

fastlane/lanes/localization.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,6 @@
126126
commit_message: "Update #{app_values[:display_name]} `PlayStoreStrings.po` for version #{version}"
127127
)
128128
end
129-
130-
push_to_git_remote(tags: false)
131-
132-
release_branch = "release/#{version}"
133-
create_release_management_pull_request(release_branch, "Merge #{version} editorialized release notes to #{release_branch}")
134129
end
135130

136131
# Updates the metadata in the Play Store (Main store listing) from the content of `fastlane/{metadata|jetpack_metadata}/android/*/*.txt` files

fastlane/lanes/release_management_in_ci.rb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
BUILDKITE_ORGANIZATION = 'automattic'.freeze
22
BUILDKITE_PIPELINE = 'wordpress-android'.freeze
3+
4+
import 'lanes/localization.rb'
5+
36
platform :android do
7+
#####################################################################################
8+
# Temporary Release Management in CI Lanes
9+
#####################################################################################
10+
lane :update_appstore_strings_in_ci do |options|
11+
update_appstore_strings(options)
12+
13+
push_to_git_remote(tags: false)
14+
15+
version = options.fetch(:version, android_get_app_version)
16+
release_branch = "release/#{version}"
17+
create_release_management_pull_request(release_branch, "Merge #{version} editorialized release notes to #{release_branch}")
18+
end
19+
420
#####################################################################################
521
# Triggers for Buildkite
622
#####################################################################################

0 commit comments

Comments
 (0)