mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
improve naming
This commit is contained in:
parent
99ea9c5d80
commit
ea0654cf5e
1 changed files with 3 additions and 3 deletions
|
|
@ -272,7 +272,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|||
$gitUrl = 'git@github.com:aw-tests/' . $language['gitRepoName'] . '.git';
|
||||
}
|
||||
|
||||
$branch = $language['repoBranch'] ?? 'main';
|
||||
$repoBranch = $language['repoBranch'] ?? 'main';
|
||||
if ($git && !empty($gitUrl)) {
|
||||
\exec('rm -rf ' . $target . ' && \
|
||||
mkdir -p ' . $target . ' && \
|
||||
|
|
@ -280,8 +280,8 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|||
git init && \
|
||||
git remote add origin ' . $gitUrl . ' && \
|
||||
git fetch origin && \
|
||||
git checkout ' . $branch . ' || git checkout -b ' . $branch . ' && \
|
||||
git pull origin ' . $branch . ' && \
|
||||
git checkout ' . $repoBranch . ' || git checkout -b ' . $repoBranch . ' && \
|
||||
git pull origin ' . $repoBranch . ' && \
|
||||
git checkout ' . $gitBranch . ' || git checkout -b ' . $gitBranch . ' && \
|
||||
git fetch origin ' . $gitBranch . ' || git push -u origin ' . $gitBranch . ' && \
|
||||
git pull origin ' . $gitBranch . ' && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue