build: fix the compare master and patch script output (#36749)
Currently the commit message and corresponding version are flipped, which makes it hard to review the changes. This commit updates the script to properly recognize the order of arguments. PR Close #36749
This commit is contained in:

committed by
Matias Niemelä

parent
535c249f3a
commit
5db8d93fe5
@ -88,7 +88,7 @@ function collectCommitsAsMap(rawGitCommits) {
|
||||
return commitsMap;
|
||||
}
|
||||
|
||||
function getCommitInfoAsString(commitInfo, version) {
|
||||
function getCommitInfoAsString(version, commitInfo) {
|
||||
return `[${version}+] ${commitInfo}`;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user