Unverified Commit 93a1ce87 authored by Andreas Klöckner's avatar Andreas Klöckner Committed by GitHub
Browse files

Merge pull request #9 from isuruf/patch-2

Fix setting up main
parents 912cff50 1bb06e16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -508,7 +508,7 @@ function clone_results_repo {
    fi
    ln -s $PWD/benchmark-data/$PROJECT .asv/results

    if [[ ! -z "${GITLAB_CI}" ]]; then
    if [[ "$(git branch --show-current)" != "main" ]]; then
      # Fetch the origin/main branch and setup main to track origin/main
      git fetch origin main || true
      git branch main origin/main -f