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 @@ -95,15 +95,15 @@ jobs:
9595
9696 if [ -z "$LATEST_TAG" ]; then
9797 echo "No previous backend tag found, using all commits"
98- BACKEND_COMMITS=$(git log --oneline --grep="(backend)" --grep="(all)" --grep-or )
98+ BACKEND_COMMITS=$(git log --oneline --grep="(backend)" --grep="(all)")
9999 else
100100 echo "Using commits since $LATEST_TAG"
101101 # Get backend and all scoped commits since last release
102102 BACKEND_COMMITS=$(git log ${LATEST_TAG}..HEAD --oneline --grep="(backend)")
103103 ALL_COMMITS=$(git log ${LATEST_TAG}..HEAD --oneline --grep="(all)")
104104
105105 # Combine and format the commits
106- COMBINED_COMMITS=$(echo -e "$BACKEND_COMMITS\n$ALL_COMMITS" | sort -u | grep -v "^$")
106+ COMBINED_COMMITS=$(echo -e "$BACKEND_COMMITS\n$ALL_COMMITS" | sort -u | grep -v "^$" || true )
107107 fi
108108
109109 # Format commits for release notes
Original file line number Diff line number Diff line change @@ -88,15 +88,15 @@ jobs:
8888
8989 if [ -z "$LATEST_TAG" ]; then
9090 echo "No previous frontend tag found, using all commits"
91- FRONTEND_COMMITS=$(git log --oneline --grep="(frontend)" --grep="(all)" --grep-or )
91+ FRONTEND_COMMITS=$(git log --oneline --grep="(frontend)" --grep="(all)")
9292 else
9393 echo "Using commits since $LATEST_TAG"
9494 # Get frontend and all scoped commits since last release
9595 FRONTEND_COMMITS=$(git log ${LATEST_TAG}..HEAD --oneline --grep="(frontend)")
9696 ALL_COMMITS=$(git log ${LATEST_TAG}..HEAD --oneline --grep="(all)")
9797
9898 # Combine and format the commits
99- COMBINED_COMMITS=$(echo -e "$FRONTEND_COMMITS\n$ALL_COMMITS" | sort -u | grep -v "^$")
99+ COMBINED_COMMITS=$(echo -e "$FRONTEND_COMMITS\n$ALL_COMMITS" | sort -u | grep -v "^$" || true )
100100 fi
101101
102102 # Format commits for release notes
Original file line number Diff line number Diff line change @@ -91,15 +91,15 @@ jobs:
9191
9292 if [ -z "$LATEST_TAG" ]; then
9393 echo "No previous satellite tag found, using all commits"
94- SATELLITE_COMMITS=$(git log --oneline --grep="(satellite)" --grep="(all)" --grep-or )
94+ SATELLITE_COMMITS=$(git log --oneline --grep="(satellite)" --grep="(all)")
9595 else
9696 echo "Using commits since $LATEST_TAG"
9797 # Get satellite and all scoped commits since last release
9898 SATELLITE_COMMITS=$(git log ${LATEST_TAG}..HEAD --oneline --grep="(satellite)")
9999 ALL_COMMITS=$(git log ${LATEST_TAG}..HEAD --oneline --grep="(all)")
100100
101101 # Combine and format the commits
102- COMBINED_COMMITS=$(echo -e "$SATELLITE_COMMITS\n$ALL_COMMITS" | sort -u | grep -v "^$")
102+ COMBINED_COMMITS=$(echo -e "$SATELLITE_COMMITS\n$ALL_COMMITS" | sort -u | grep -v "^$" || true )
103103 fi
104104
105105 # Format commits for release notes
You can’t perform that action at this time.
0 commit comments