Lottie is made available through multiple package managers, each of which has to be updated individually for each release.
- Make sure
lottie-ios.podspec
,package.json
, andVersion.xcconfig
list the correct version number.
- Optionally, consider updating the version number in
README.md
as well. - Also consider updating the version number referenced here: https://airbnb.io/lottie/#/ios?id=swift-package-manager
- Publish the new release in the lottie-ios repo
- Update the Cocoapod by running
pod trunk push lottie-ios.podspec
- Update the npm package by running
npm publish
- Attach
Lottie.xframework.zip
to the GitHub release
- For every PR / commit,
Lottie.xcframework.zip
is built by CI and uploaded to the job summary once all jobs are completed. - Make sure to use the
Lottie.xcframework.zip
from the CI job for the commit on master / the specific release tag and not from a PR CI job.
- Update the lottie-spm Package.swift manifest to reference the new version's XCFramework.
- You can compute the checksum by running
swift package compute-checksum Lottie.xcframework.zip
. - Optionally, consider updating the version number in
README.md
as well.
- Publish the new release in the lottie-spm repo