-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Merge release branch into master
git checkout master
git pull
-
git checkout -b [user]-merge-release-[tag version]
e.g.git checkout -b fabian-merge-release-ios-v3.6.0
git checkout [release branch]
git pull
-
git checkout [user]-merge-relase-[tag version]
e.g.git checkout fabian-merge-release-ios-v3.6.0
-
git merge [tag]
e.g.git merge ios-v3.6.0
It is likely you will encounter merge conflicts the solving strategy would be:
- For core gl files (
*.hpp
&*.cpp
) prefermaster
version. - For Android and iOS files (
*.java
,*.graddle
,*.xml
,*.h
,*.m
,*.mm
) manual merge, prioritize release changes.
Before making a PR use the following commands to test the merge.
-
Core gl
make test
make run-test
-
Android
make android-check
-
iOS & macOS
make iproj
- Select iosapp click run.
make xproj
- Select macosapp click run.
If above tests passed.
-
git push origin [user]-merge-relase-[tag version]
e.g.git push origin fabian-merge-release-ios-v3.6.0
- Ping each team member whose changes will be affected by this merge.
Once the PR is approved.
git checkout master
git pull
-
git merge [user]-merge-relase-[tag version]
e.g.git merge fabian-merge-release-ios-v3.6.0
git push origin master
-
git branch -D [user]-merge-relase-[tag version]
e.g.git branch -D fabian-merge-release-ios-v3.6.0
Merging using github is discouraged.
In any case do not use squash and merge
option as this will break git history and introduce orphaned commits.
Error message:
* What went wrong:
Execution failed for task ':MapboxGLAndroidSDK:lint'.
> Lint found errors in the project; aborting build.
What went wrong: There are missing translations.
Solution: Notify the Android team.
Workflow: Code, Makefile, CMake, Xcode, ccache, Debugging, CI, JS/Native, Code Generation, Versions & Tagging, Contributing, Troubleshooting
Architecture: Threads, Immutability, Expressions, Text Rendering, Collision Detection, CJK Text
Rendering: OpenGL, Coordinate Systems
Android: checkstyle, APK Size, 4→5, 5→6, 6→7, Symbolication
iOS/macOS: 3→4
Releasing: iOS, macOS, Merging back
Misc: Terminology