Skip to content

Commit 4127036

Browse files
committed
reverse commit-headless commits
1 parent f754b23 commit 4127036

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release-proposal-dispatch.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,9 +449,9 @@ jobs:
449449
exit 1
450450
fi
451451
452-
# List both commit hashes in reverse order, space separated (no extra quotes so commit-headless gets plain SHAs)
453-
COMMITS=$(git log "$ORIGINAL_HEAD".. --format='%H' | tr '\n' ' ' | xargs)
454-
echo "COMMITS: $COMMITS"
452+
# Oldest → newest (chronological). Plain `git log` is newest-first; commit-headless should receive
453+
# parent→child order so replays/signing match git history. Space-separated SHAs for the action.
454+
COMMITS=$(git log --reverse "$ORIGINAL_HEAD".. --format='%H' | tr '\n' ' ' | xargs)
455455
echo "commits=$COMMITS" >> $GITHUB_OUTPUT
456456
457457
# Output the results

0 commit comments

Comments
 (0)