Skip to content

[Tooling] Fix outdated changelogs removal logic #11780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ platform :android do
def delete_old_changelogs
obsolete_changelogs = [MOBILE_APP, WEAR_APP].flat_map do |app|
Dir.glob(File.join(METADATA_DIR_PATH[app], '*', 'changelogs', 'default.txt'))
.reject { |file| File.dirname(file, 2) == 'en-US' }
.reject { |file| File.basename(File.dirname(file, 2)) == 'en-US' }
end
FileUtils.rm_f(obsolete_changelogs)
obsolete_changelogs
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/default.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Now, seamlessly sync with our new WearOS app for instant updates on store data and orders. Plus, enjoy added flexibility with edit support for Min/Max Quantities directly from product details. Update your WooCommerce app now for a seamless and enhanced experience!
1 change: 1 addition & 0 deletions fastlane/metadata/wear/en-US/changelogs/default.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Introduces the new Woo WearOS app featuring instant updates on store data and orders at glance!
Loading