When mobile users update at different times, several app versions may remain in use. A release records a version as available in an environment without removing earlier released versions. section 10.2.4
In Pact, release recording differs from deployment recording:
- A released version leaves previous versions marked as released, supporting mobile applications whose users run different versions. section 10.2.4
- A deployed version replaces the previous deployed status, fitting APIs and web applications where one code version is used. section 10.2.4
- Recording the release after delivery lets Pact track which versions are available in an environment and supports deployed-or-released version selection. section 10.5
Recording a mobile release
After publishing MoviesAndroidApp to production, record its version with `pact-broker record-release --pacticipant MoviesAndroidApp --version $GITHUB_SHA --environment production`. Earlier released versions remain recorded, allowing Pact to represent the mobile application's version spread.
pact-broker record-release --pacticipant MoviesAndroidApp --version $GITHUB_SHA --environment production
Use the command listing to adapt release recording to a participant, version identifier, and target environment. section 10.2.4



