Skip to content

Commit f9bbcc2

Browse files
committed
Compress the generated screenshots
1 parent a400ed7 commit f9bbcc2

13 files changed

+2
-0
lines changed

fastlane/Fastfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ platform :ios do
3434
lane :screenshots do
3535
# Generate updated screenshots.
3636
snapshot
37+
# Compress the screenshots with pngcrush
38+
sh "for IMG in screenshots/**/*.png; do pngcrush -rem alla -ow \"$IMG\"; done"
3739
end
3840

3941
desc "Build the app for release"
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)