-
Create a branch with the name of the version
x.x.x -
Change the version in version.rb file
$VERSION = 'x.x.x'
-
Run update.sh to install the new version of this library and update the dependencies in CocoaPods and SPM
./update.sh
-
Update the CHANGELOG.md file
-
Test the modifications on the SPM project DemoSharedCredentials. SPM tends to be stricter than Cocoapods when validating dependencies and code visibility
-
Ask to create a new release version in JIRA and link the ticket to it
-
Submit and merge the pull request
-
Add git tag
x.x.xto the merge commitgit tag x.x.x
-
Push the tag
git push origin x.x.x
-
The CI will automatically publish this new version
-
Release Reach5Future
-
Finally, draft a new release in the Github releases tab (copy & paste the changelog in the release's description)
-
If the new version needs a fork of the documentation, the branch
x.x.xshould exist in perpetuity for the purpose of this documentation.
If, at step 6., thex.x.xbranch was merged (not squashed) into master, then keep the branch open.
If the branch was squashed, then delete the branch and recreate a new branch still namedx.x.x