Skip to content

Commit

Permalink
chore: Start selecting base branch for nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten-adobe committed Sep 29, 2024
1 parent 26cfde1 commit 4fdc5fd
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,17 @@ jobs:
grep -E '^release-plz-20' |\
sort -r |\
head -n 1)
echo Found RP branch $LATEST_RELEASE_PLZ
if [ -z "$LATEST_RELEASE_PLZ" ]; then \
BASE_BRANCH=main \
echo "No release-plz branch; using main"; \
else \
echo Found RP branch $LATEST_RELEASE_PLZ; \
BASE_BRANCH=$LATEST_RELEASE_PLZ \
fi
echo Found base branch $BASE_BRANCH
# - name: Set new proposed version
# uses: paulhatch/semantic-version@v5.4.0
# id: set-version
Expand Down

0 comments on commit 4fdc5fd

Please sign in to comment.