File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -60,15 +60,15 @@ jobs:
6060
6161 if [ -z "$LATEST_TAG" ]; then
6262 echo "No previous backend tag found, using all commits"
63- BACKEND_COMMITS=$(git log --oneline --grep="(backend)" --grep="(all)" --grep-or )
63+ BACKEND_COMMITS=$(git log --oneline --grep="(backend)" --grep="(all)")
6464 else
6565 echo "Using commits since $LATEST_TAG"
6666 # Get backend and all scoped commits since last release
6767 BACKEND_COMMITS=$(git log ${LATEST_TAG}..HEAD --oneline --grep="(backend)")
6868 ALL_COMMITS=$(git log ${LATEST_TAG}..HEAD --oneline --grep="(all)")
6969
7070 # Combine and format the commits
71- COMBINED_COMMITS=$(echo -e "$BACKEND_COMMITS\n$ALL_COMMITS" | sort -u | grep -v "^$")
71+ COMBINED_COMMITS=$(echo -e "$BACKEND_COMMITS\n$ALL_COMMITS" | sort -u | grep -v "^$" || true )
7272 fi
7373
7474 # Format commits for release notes
Original file line number Diff line number Diff line change @@ -69,15 +69,15 @@ jobs:
6969
7070 if [ -z "$LATEST_TAG" ]; then
7171 echo "No previous frontend tag found, using all commits"
72- FRONTEND_COMMITS=$(git log --oneline --grep="(frontend)" --grep="(all)" --grep-or )
72+ FRONTEND_COMMITS=$(git log --oneline --grep="(frontend)" --grep="(all)")
7373 else
7474 echo "Using commits since $LATEST_TAG"
7575 # Get frontend and all scoped commits since last release
7676 FRONTEND_COMMITS=$(git log ${LATEST_TAG}..HEAD --oneline --grep="(frontend)")
7777 ALL_COMMITS=$(git log ${LATEST_TAG}..HEAD --oneline --grep="(all)")
7878
7979 # Combine and format the commits
80- COMBINED_COMMITS=$(echo -e "$FRONTEND_COMMITS\n$ALL_COMMITS" | sort -u | grep -v "^$")
80+ COMBINED_COMMITS=$(echo -e "$FRONTEND_COMMITS\n$ALL_COMMITS" | sort -u | grep -v "^$" || true )
8181 fi
8282
8383 # Format commits for release notes
Original file line number Diff line number Diff line change @@ -60,15 +60,15 @@ jobs:
6060
6161 if [ -z "$LATEST_TAG" ]; then
6262 echo "No previous satellite tag found, using all commits"
63- SATELLITE_COMMITS=$(git log --oneline --grep="(satellite)" --grep="(all)" --grep-or )
63+ SATELLITE_COMMITS=$(git log --oneline --grep="(satellite)" --grep="(all)")
6464 else
6565 echo "Using commits since $LATEST_TAG"
6666 # Get satellite and all scoped commits since last release
6767 SATELLITE_COMMITS=$(git log ${LATEST_TAG}..HEAD --oneline --grep="(satellite)")
6868 ALL_COMMITS=$(git log ${LATEST_TAG}..HEAD --oneline --grep="(all)")
6969
7070 # Combine and format the commits
71- COMBINED_COMMITS=$(echo -e "$SATELLITE_COMMITS\n$ALL_COMMITS" | sort -u | grep -v "^$")
71+ COMBINED_COMMITS=$(echo -e "$SATELLITE_COMMITS\n$ALL_COMMITS" | sort -u | grep -v "^$" || true )
7272 fi
7373
7474 # Format commits for release notes
You can’t perform that action at this time.
0 commit comments