-
Notifications
You must be signed in to change notification settings - Fork 89
Partner Release Process
Travis Prescott edited this page Nov 29, 2022
·
5 revisions
- Prior to release, ensure all relevant code is checked into
main
and any necessary binaries are published to support release. - Create a PR in the
azure-sdk-for-ios
repo that bumps relevant versions usingpython eng/scripts/version.py update <old_version> <new_version> <MODULE>
. Ensure the PR branch is off the main repo and not a fork. Use the branch name<MODULE>_<version>
. Naming the branch in this way allows you to use thetag
parameter in files before actually creating the tag in Github. - Do a fresh
pod install
of theAzureSDKSmokeTest
project and verify that it builds without any errors. Set the PODSPEC_BRANCH to the release branch before runningpod install
. You should test installation with the environment variable POD_LINKAGE set to "dynamic" and "staticframework". - With approval from the AzureSDK team and a passing CI, merge the PR. Note: Do not delete the branch at this point. The CI will need this branch when you queue the internal build in the next step.
- In the internal Azure Devops pipeline, queue a manual build of your service's pipeline (ex:
ci - communication
). You must have permissions to queue manual builds. This unlocks the automated release pipeline. - Once the first stage of the build has passed, you can delete the version bump branch. It is preferable to do this now as it is more difficult to do once a tag is created in the next step with the same name.
- Once the first stage of the pipeline has passed, the second Release stage awaits approval. For service branches with multiple SDKs (ex: communication) ensure you only approve the release of your SDK. Do not touch any other SDKs. You will need specific permissions to approve the release of SDKs.
- Approving the release will automatically create the necessary tag in the
azure-sdk-for-ios
repo, will publish to CocoaPods, and will sync the SwiftPM mirror repo and tag it appropriately. - Contact the SDK team to update the generated Jazzy docs.