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 3fbb045 commit 4444626
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 @@ -150,7 +150,9 @@ 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 4444626

Please sign in to comment.