Skip to content

Commit a5c7a46

Browse files
OdNairygithub-actions[bot]
authored andcommitted
Remove GL-Native changelog logic from maps-ios GitHub release template (#8515)
- Remove outdated logic to pull GL-Native changelog into Maps iOS GitHub release template - Fix duplicated versions in CHANGELOG.md to reenable `parse-changelog` functionality MAPSIOS-2044 cc @mapbox/maps-ios cc @mapbox/sdk-ci GitOrigin-RevId: 63e7255ca8b79fd4ce69693ff701f3b8c4d27c02
1 parent 299d646 commit a5c7a46

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

CHANGELOG.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ Map {
142142

143143
## 11.13.0-rc.1 - 03 June, 2025
144144

145-
## 11.13.0-rc.1
146-
147145
* Added new `FillLayer.fillPatternCrossFade`, `FillExtrusionLayer.fillExtrusionPatternCrossFade`, `LineLayer.fillExtrusionPatternCrossFade` properties.
148146

149147
## 11.12.0 - 07 May, 2025
@@ -220,8 +218,6 @@ mapView.mapboxMap.addInteraction(TapInteraction(.standardPoi) { poi, feature in
220218
* Expose new `showLandmarkIcons` property in `MapStyle.standard`.
221219
* New example for elevated spiral line. Utilized the experimental API `LineLayer/linezOffset`.
222220

223-
## 11.12.0 - 07 May, 2025
224-
225221
## 11.12.0-rc.1 - 23 April, 2025
226222

227223
* Expose an experimental API to define a non-rectangular screen culling shape(`MapboxMap.screenCullingShape`).
@@ -315,7 +311,7 @@ Use this property to define view annotation sort order.
315311
* Fix the encoding/decoding key for `Rain/centerThinning` and `Snow/centerThinning`.
316312
* Update CoreMaps to 11.9.0 and Common to 24.9.0.
317313

318-
## 11.9.0-beta.1 - 9 December, 2024
314+
## 11.9.0-rc.1 - 9 December, 2024
319315

320316
* Add a new API to disable custom resizing implementation of the MapView. To disable the custom resizing implementation, set `MapView.resizingAnimation` to `.none`.
321317
* Add `to-hsla` expression support.

scripts/release/create-github-draft-release.sh

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,9 @@ main() {
2323
export GITHUB_TOKEN
2424

2525
VERSION_JSON_PATH="$SCRIPT_DIR/packager/versions.json"
26-
GL_NATIVE_VERSION="gl-native/v$(jq -r .MapboxCoreMaps "$VERSION_JSON_PATH")"
27-
28-
GL_NATIVE_PUBLIC_CHANGELOG=$(gh -R mapbox/mapbox-sdk release view "$GL_NATIVE_VERSION" --json body -q ".body" | awk 'BEGIN{ found=0} /Public changelog entries/{found=1} {if (found) print }' | tail -n +2)
29-
GL_NATIVE_PUBLIC_MARKDOWN_CHANGELOG=$(prepare_glnative_release_notes "$GL_NATIVE_PUBLIC_CHANGELOG")
3026

3127
MAPBOX_COMMON_VERSION=$(jq -r .MapboxCommon "$VERSION_JSON_PATH")
3228
MAPBOX_COREMAPS_VERSION=$(jq -r .MapboxCoreMaps "$VERSION_JSON_PATH")
33-
# The following python one-liner parses the CircleCI config and takes executor called 'xcode-sdk-min' and then checkout the macos xcode version.
34-
# It's critical to have the same structure in CircleCI config in any place inside of file.
3529

3630
CHANGELOG=$( ([[ $(command -v parse-changelog) ]] && parse-changelog CHANGELOG.md) || echo "<Compose changelog here>" )
3731

@@ -42,10 +36,7 @@ $CHANGELOG
4236
4337
### Dependencies
4438
* Update MapboxCommon to \`$MAPBOX_COMMON_VERSION\`.
45-
* Update MapboxCoreMaps to \`$MAPBOX_COREMAPS_VERSION\`:
46-
* <details> <summary>Changelog </summary>
47-
$GL_NATIVE_PUBLIC_MARKDOWN_CHANGELOG
48-
</details>
39+
* Update MapboxCoreMaps to \`$MAPBOX_COREMAPS_VERSION\`.
4940
5041
### Dependency requirements:
5142
* Compatible version of Xcode: \`$XCODE_MIN_VERSION\`
@@ -61,8 +52,4 @@ EOF
6152
info "New Release: $PRODUCTION_DOCS_PR_URL"
6253
}
6354

64-
prepare_glnative_release_notes() {
65-
echo "$1" | sed 's/^/ /' | sed 's/^ ## / * /'
66-
}
67-
6855
main

0 commit comments

Comments
 (0)