Skip to content

Commit 07e49dd

Browse files
committed
Ubuntu 24.04 POC
1 parent 649bfd2 commit 07e49dd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/common.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,16 @@ function fetch_repo_from_git() {
769769
logmust git show-ref repo-HEAD
770770
logmust git show-ref upstream-HEAD
771771
else
772+
773+
#
774+
# TODO: Add explanation
775+
#
776+
if [[ "$PACKAGE_GIT_BRANCH" == "os-upgrade" ]]; then
777+
if [[ -n $(git ls-remote --heads origin os-upgrade) ]]; then
778+
PACKAGE_GIT_BRANCH="develop"
779+
fi
780+
fi
781+
772782
logmust git_fetch_helper "$PACKAGE_GIT_URL" --no-tags \
773783
"+$PACKAGE_GIT_BRANCH:repo-HEAD" --depth=1
774784
logmust git show-ref repo-HEAD

0 commit comments

Comments
 (0)