SiarheiFedartsou / fastlane-plugin-versioning

Extends fastlane versioning actions. Allows to set/get versions without using agvtool and do some other small tricks.
MIT License
509 stars 61 forks source link

Add random query param to get_app_store_version_number.rb #75

Closed raymondjacobson closed 1 year ago

raymondjacobson commented 1 year ago

Apple has a 24 hour cache on the response that comes back from itunes.apple.com/lookup. This has caused problems in our builds because we use this plugin to detect in CI whether a new version should be released and if CI is run twice within 24 hours, we end up getting a cached value back from Apple.

This PR adds a tiny random uuid query param to bust the cache & get a fresh response.