We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 649bfd2 commit 07e49ddCopy full SHA for 07e49dd
lib/common.sh
@@ -769,6 +769,16 @@ function fetch_repo_from_git() {
769
logmust git show-ref repo-HEAD
770
logmust git show-ref upstream-HEAD
771
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
781
782
logmust git_fetch_helper "$PACKAGE_GIT_URL" --no-tags \
783
"+$PACKAGE_GIT_BRANCH:repo-HEAD" --depth=1
784
0 commit comments