pin wire-ios-build-configuration version
What's new in this PR?
Read wire-is version from version.xcconfig. Use the version as an option --branch for download-assets.sh, to download files form wire-ios-build-configuration's tag.
In this PR, the setup script pins the project to https://github.com/wireapp/wire-ios-build-configuration/releases/tag/3.87
When a new pull request is merged into wire-ios-build-configuration, a new tag matching coming release version should be created to match this project's version.
TODO
- [x] handle the case that the version tag is not exists in
wire-ios-build-configuration(usemasterif the tag not exists.)
Stale pull request message
@typfel @johnxnguyen this PR is still necessary as we have build older version with older assets.
Right, I just think would make more sense to add separate build configuration version/tag somewhere and not rely on the Version.xcconfig, because as it is now we would need to create a new build configuration branch for every release when build configuration rarely changes.
Why not add something like: BUILD_CONFIGURATION = "1.0"
And use it fetch build conjuration with that tag. And then when the build configuration changes it's part of the process to update it.