pilot/lib/pilot/build_manager.rb in fastlane-2.153.1 vs pilot/lib/pilot/build_manager.rb in fastlane-2.154.0
- old
+ new
@@ -279,11 +279,20 @@
UI.important("Emoji symbols have been removed from the changelog, since they're not allowed by Apple.")
end
changelog
end
+ def self.strip_less_than_sign(changelog)
+ if changelog && changelog.include?("<")
+ changelog.delete!("<")
+ UI.important("Less than signs (<) have been removed from the changelog, since they're not allowed by Apple.")
+ end
+ changelog
+ end
+
def self.sanitize_changelog(changelog)
changelog = strip_emoji(changelog)
+ changelog = strip_less_than_sign(changelog)
truncate_changelog(changelog)
end
private