-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from mapbox/ci-internal-main-merge
internal to main merge.
- Loading branch information
Showing
16 changed files
with
113 additions
and
35 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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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,3 +1,3 @@ | ||
{ | ||
"version" : "10.11.0-rc.1-private" | ||
"version" : "10.11.0-private" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
changequote("""","""")dnl # prevents m4 from being confused with backquotes by changing quotes to non-existent tokens | ||
## License | ||
|
||
Mapbox Maps for iOS version __MAPS_SDK_VERSION__ | ||
Mapbox Maps iOS SDK | ||
|
||
Copyright © 2021 - __YEAR__ Mapbox, Inc. All rights reserved. | ||
|
||
The software and files in this repository (collectively, “Software”) are licensed under the Mapbox TOS for use only with the relevant Mapbox product(s) listed at www.mapbox.com/pricing. This license allows developers with a current active Mapbox account to use and modify the authorized portions of the Software as needed for use only with the relevant Mapbox product(s) through their Mapbox account in accordance with the Mapbox TOS. This license terminates automatically if a developer no longer has a Mapbox account in good standing or breaches the Mapbox TOS. For the license terms, please see the Mapbox TOS at https://www.mapbox.com/legal/tos/ which incorporates the Mapbox Product Terms at www.mapbox.com/legal/service-terms. If this Software is a SDK, modifications that change or interfere with marked portions of the code related to billing, accounting, or data collection are not authorized and the SDK sends limited de-identified location and usage data which is used in accordance with the Mapbox TOS. [Updated 2023-01] | ||
|
||
## Acknowledgements | ||
|
||
This application makes use of the following third party libraries: | ||
|
||
### turf-swift, https://github.com/mapbox/turf-swift | ||
|
||
``` | ||
__TURF_LICENSE_CONTENT__ | ||
``` | ||
|
||
--- | ||
|
||
__CORE_LICENSE__ |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
if [ -z "${GITHUB_TOKEN}" ]; then | ||
echo "This script requires GITHUB_TOKEN variable to be set." | ||
exit 1 | ||
fi | ||
|
||
COREMAPS_VERSION=$(jq -r .MapboxCoreMaps scripts/release/packager/versions.json) | ||
TURF_VERSION=$(jq -r .Turf scripts/release/packager/versions.json) | ||
MAPS_SDK_VERSION=$(jq -r .version Sources/MapboxMaps/MapboxMaps.json) | ||
CURRENT_YEAR=$(date +%Y) | ||
|
||
TURF_LICENSE_CONTENT=$(gh api -H "Accept: application/vnd.github+json" "/repos/mapbox/turf-swift/contents/LICENSE.md?ref=$TURF_VERSION" --jq ".content" | base64 --decode) | ||
CORE_LICENSE=$(gh api -H "Accept: application/vnd.github+json" "/repos/mapbox/mapbox-gl-native-internal/contents/LICENSE-iOS.md?ref=maps-v$COREMAPS_VERSION" --jq ".content" | base64 --decode) | ||
|
||
m4 -D __MAPS_SDK_VERSION__="$MAPS_SDK_VERSION" \ | ||
-D __TURF_LICENSE_CONTENT__="$TURF_LICENSE_CONTENT" \ | ||
-D __CORE_LICENSE__="$CORE_LICENSE" \ | ||
-D __YEAR__="$CURRENT_YEAR" \ | ||
scripts/license/LICENSE-template.md |
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,6 +1,6 @@ | ||
{ | ||
"MapboxCoreMaps": "10.11.0-rc.1", | ||
"MapboxCoreMaps": "10.11.1", | ||
"MapboxMobileEvents": "v1.0.10", | ||
"MapboxCommon": "23.3.0-rc.1", | ||
"MapboxCommon": "23.3.1", | ||
"Turf": "v2.6.1" | ||
} |