The current deployment script suffers with the following problems:
It's damn slow, due to cocoapods
We have to wait about 20 minutes between releasing PowerAuthCore and PowerAuth2, because the new version is not immediately visible for
It's complicated when we're deploying from non-develop branch (several switches required)
Solution for poor release speed
We should deploy libraries in the following order:
Run pod lib lints for all podpsecs (it's possible to trick linter for PowerAuth2 to include PowerAuthCore from the local file)
Publish android library to the local maven (to test possible failures during the real deployment)
Publish PowerAuthCore pod
Publish PowerAuth2ForExtensions pod
Publish PowerAuth2ForWatch pod
Publish Android library
Wait for a shorter time
Publish PowerAuth2 pod
Simplify script usage
We're always deploy all platforms, so options for deploying specific platform is deprecated.
There should be config.sh specifying releasing branch and allowing automatic release from that branch
There should be automatic detection whether the tag is already created (useful when deploy process fails on some unexpected error, like expired pod session)
The current deployment script suffers with the following problems:
PowerAuthCore
andPowerAuth2
, because the new version is not immediately visible forSolution for poor release speed
We should deploy libraries in the following order:
PowerAuth2
to includePowerAuthCore
from the local file)PowerAuthCore
podPowerAuth2ForExtensions
podPowerAuth2ForWatch
podPowerAuth2
podSimplify script usage
config.sh
specifying releasing branch and allowing automatic release from that branchpod
session)