Skip to content

Commit

Permalink
chore: Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten-adobe committed Sep 29, 2024
1 parent 317eca0 commit d9da4c2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,19 @@ jobs:
exit 0
elif [[ "$GH_EVENT_NAME" == "push" ]]; then
LATEST_TAG=$(git describe --tags --abbrev=0)
echo --- DEBUG
echo
echo LATEST_TAG=$LATEST_TAG
echo
echo --- git log ---
git --no-pager log --pretty=format:"%s" $LATEST_TAG..HEAD
echo
echo --- git log + grep ---
git --no-pager log --pretty=format:"%s" $LATEST_TAG..HEAD | grep -v "^chore"
echo
echo --- END DEBUG ---
if git --no-pager log --pretty=format:"%s" $LATEST_TAG..HEAD | grep -v "^chore" ; then
echo "Push to main, but there are only chore commits since last tag."
echo "Not expecting a new release branch";
Expand Down

0 comments on commit d9da4c2

Please sign in to comment.