Skip to content

Commit

Permalink
Update snapshot recording lane
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Jan 25, 2024
1 parent ac2a621 commit f601782
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ private_lane :test_ui do |options|
png_files = git_status(ext: '.png').map { |_, png| png }.flatten
next if png_files.empty?

# Discard all files apart from the snapshots
png_files.each { |png| sh("git add #{png}") || true }
sh('git restore .')

create_pr(
title: '[CI] Snapshots',
Expand Down

0 comments on commit f601782

Please sign in to comment.