-
-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to manual iOS pre-releases (#2003)
- Loading branch information
Showing
2 changed files
with
38 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,35 @@ | ||
# Instructions for making an iOS release | ||
|
||
We make iOS releases to GitHub (a downloadable XCFramework), the [Swift Package Index](https://swiftpackageindex.com/maplibre/maplibre-gl-native-distribution) and [CocoaPods](https://cocoapods.org/). Everyone with write access to the repository is able to make releases using the instructions below. | ||
|
||
## Pre-release | ||
|
||
Run the `ios-ci` workflow. You can use the [GitHub CLI](https://cli.github.com/manual/gh_workflow_run): | ||
|
||
``` | ||
gh workflow run ios-ci.yml -f release=pre --ref main | ||
``` | ||
|
||
Or run the workflow from the Actions tab on GitHub. | ||
|
||
The items under the `## main` heading in `platform/ios/CHANGELOG.md` will be used as changelog for the pre-release. | ||
|
||
## Full release | ||
|
||
1. Make sure the `VERSION` file in `platform/ios/VERSION` contains the version to be released. We use semantic versioning, so any breaking changes require a major version bump. | ||
|
||
2. Update the changelog, which can be found in `platform/ios/CHANGELOG.md`. The heading must match `## <VERSION>` exactly, or it will not be picked up. For example, for version 6.0.0: | ||
|
||
``` | ||
```md | ||
## 6.0.0 | ||
``` | ||
|
||
3. Run the `ios-ci` workflow. You can use the [GitHub CLI](https://cli.github.com/manual/gh_workflow_run): | ||
|
||
``` | ||
gh workflow run ios-ci.yml -f release=true --ref main | ||
gh workflow run ios-ci.yml -f release=full --ref main | ||
``` | ||
|
||
Or run the workflow from the Actions tab on GitHub: | ||
|
||
<img width="333" alt="Screenshot 2024-01-07 at 16 23 50" src="https://github.com/maplibre/maplibre-native/assets/649392/a0440e05-c522-49ba-ae85-3fc2193de465"> | ||
<img width="367" alt="Screenshot 2024-01-08 at 11 00 30" src="https://github.com/maplibre/maplibre-native/assets/649392/ae791f04-f805-4544-b33a-44d8b04e0836"> |