Skip to content
Snippets Groups Projects
Verified Commit c267bf8a authored by brizental's avatar brizental Committed by Pier Angelo Vendrame
Browse files

fixup! Add CI for Base Browser

Fix issue that prevents the create-bundle job from succeeding when there
is already a branch with the same name as the one being pushed to in the
CI -- mostly happens on protected branches.
parent cd9ef577
Branches
No related tags found
2 merge requests!1202Bug_43099: 2024 YEC Strings,!1136Bug 43085: Rebased alpha onto 128.2.0esr
......@@ -32,11 +32,14 @@ create-bundle:
script:
# DEBUG: Check repository status.
- git status
# Switch to a named branch.
- git switch -c $BRANCH_NAME
# DEBUG: Check branches in repository
- git branch
# Force switch to a named branch. We force it in case there is already
# a branch with the same name from previous runs.
- git switch -C $BRANCH_NAME
# Create a git bundle -- this will generate the app.bundle file,
# which can be used as a git remote for offline fetching.
- git bundle create app.bundle --all
- git bundle create app.bundle $BRANCH_NAME
# Retain the SHA of the base of this shallow repository.
- cat .git/shallow > shallow.txt
# DEBUG: Check sizes.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment