forked from multitheftauto/mtasa-blue
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into waterlevel
- Loading branch information
Showing
3,730 changed files
with
573,502 additions
and
408,301 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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,51 @@ | ||
name: 'Sync master to maetro' | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
sync-master-to-maetro: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.SYNC_CI_PAT }} | ||
|
||
- id: sync_commits | ||
name: Sync commits | ||
run: | | ||
# GitHub Actions bot user | ||
git config --global user.name "Maetro Bot" | ||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git checkout release/maetro | ||
git merge master --no-ff --no-edit --no-commit || true | ||
# Discard locale conflicts | ||
git checkout --ours -- Shared/installer/locale "Shared/data/MTA San Andreas/MTA/locale" | ||
git add --verbose Shared/installer/locale "Shared/data/MTA San Andreas/MTA/locale" | ||
# Discard install_cef.lua conflicts | ||
git checkout --ours -- utils/buildactions/install_cef.lua | ||
git add --verbose utils/buildactions/install_cef.lua | ||
# Discard d3dcompiler_47.dll conflicts (Due to old CEF version on maetro) | ||
git checkout --ours -- "Shared/data/MTA San Andreas/MTA/d3dcompiler_47.dll" | ||
git add --verbose "Shared/data/MTA San Andreas/MTA/d3dcompiler_47.dll" | ||
# Discard cefweb conflicts | ||
git checkout --ours -- Client/cefweb/CWebView.cpp | ||
git add --verbose Client/cefweb/CWebView.cpp | ||
git checkout --ours -- "Client/loader/MainFunctions.cpp" | ||
git add --verbose "Client/loader/MainFunctions.cpp" | ||
# We should be done with the merge now | ||
printf "Synchronize changes from 1.6 master branch [ci skip]\n\n" > commit.txt | ||
git log --expand-tabs=4 --pretty=format:'%h %s' release/maetro..master >> commit.txt | ||
git commit --no-edit --allow-empty -F commit.txt | ||
git push origin release/maetro |
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
Oops, something went wrong.