Pier Angelo Vendrame pushed to branch tor-browser-128.6.0esr-14.5-1 at The Tor 
Project / Applications / Tor Browser


Commits:
cd21b741 by Beatriz Rizental at 2025-01-27T17:04:46+00:00
fixup! Add CI for Base Browser

Fetch specific branch when prepopulating history from local repository.

- - - - -


1 changed file:

- .gitlab/ci/mixins.yml


Changes:

=====================================
.gitlab/ci/mixins.yml
=====================================
@@ -4,7 +4,7 @@
   before_script:
     - git init
     - git remote add local "$LOCAL_REPO_PATH"
-    - git fetch --depth 500 local
+    - git fetch --depth 500 local 
${CI_COMMIT_BRANCH:-$CI_MERGE_REQUEST_TARGET_BRANCH_NAME}
     - git remote add origin "$CI_REPOSITORY_URL"
     - |
       if [ -z "${CI_COMMIT_BRANCH:-$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME}" ]; 
then
@@ -26,7 +26,12 @@
   before_script:
     - git init
     - git remote add local $env:LOCAL_REPO_PATH
-    - git fetch --depth 500 local
+    - |
+      $branchName = $env:CI_COMMIT_BRANCH
+      if ([string]::IsNullOrEmpty($branchName)) {
+          $branchName = $env:CI_MERGE_REQUEST_TARGET_BRANCH_NAME
+      }
+      git fetch --depth 500 local $branchName
     - git remote add origin $env:CI_REPOSITORY_URL
     - |
       $branchName = $env:CI_COMMIT_BRANCH



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/cd21b74105feb86578badbabcc2e2f10cfdbdd85

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/cd21b74105feb86578badbabcc2e2f10cfdbdd85
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to