Skip to content

Commit

Permalink
Fix a typo in releaseTools.psm1 (#21306)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear committed Mar 5, 2024
1 parent bc07fc1 commit ad2bf78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/releaseTools.psm1
Expand Up @@ -180,7 +180,7 @@ function Get-ChangeLog
## but not reachable from the last release tag. Instead, we need to exclude the commits that were cherry-picked,
## and only include the commits that are not in the last release into the change log.

# Find the commits that were only in the orginal master, excluding those that were cherry-picked to release branch.
# Find the commits that were only in the original master, excluding those that were cherry-picked to release branch.
$new_commits_from_other_parent = git --no-pager log --first-parent --cherry-pick --right-only "$tag_hash...$other_parent_hash" --format=$format | New-CommitNode
# Find the commits that were only in the release branch, excluding those that were cherry-picked from master branch.
$new_commits_from_last_release = git --no-pager log --first-parent --cherry-pick --left-only "$tag_hash...$other_parent_hash" --format=$format | New-CommitNode
Expand Down

0 comments on commit ad2bf78

Please sign in to comment.