Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit a38b4728 authored by uazo's avatar uazo Committed by GitHub
Browse files

Added reading of base commit in pulls

parent e0e30eda
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -54,6 +54,13 @@ jobs:
          rm pup_v0.4.0_linux_amd64.zip

          BRANCH=$(curl https://github.com/uazo/bromite/branch_commits/$RTAG | ./pup -p li.branch:last-child a text{})
          if [ -z "${BRANCH}" ]; then
            BRANCH=$(cat a | ./pup -p li.branch:first-child a text{})
          fi
          if [ -z "${BRANCH}" ]; then
            echo "Impossible to recover the base commit"
            exit 1
          fi
          echo "BRANCH=$BRANCH" >> $GITHUB_ENV

      - name: Checkout 'uazo/bromite' ${{ env.BRANCH }}