Skip to content

Commit 863e289

Browse files
committed
INFRA-2911-Skip generating commits.cvs for hotfixes
1 parent bb2b66d commit 863e289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/create-platform-release-pr.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ create_changelog_pr() {
322322
npx @metamask/auto-changelog@4.1.0 update --rc --repo "${GITHUB_REPOSITORY_URL}" --currentVersion "${new_version}" --autoCategorize
323323

324324
# Skip commits.csv for hotfix releases (previous_version_ref is literal "null")
325-
# - When we create a new major/minor releases, we fetch all commits included in the release, by fetching the diff between HEAD and previous version reference.
326-
# - When we create a new hotfix releases, there are no commits included in the release by default (they will be cherry-picked one by one). So we don't have previous version reference, which is why the value is set to 'null'.
325+
# - When we create a new major/minor release, we fetch all commits included in the release, by fetching the diff between HEAD and previous version reference.
326+
# - When we create a new hotfix release, there are no commits included in the release by default (they will be cherry-picked one by one). So we don't have previous version reference, which is why the value is set to 'null'.
327327
if [[ "${previous_version_ref,,}" == "null" ]]; then
328328
echo "Hotfix release detected (previous-version-ref is 'null'); skipping commits.csv generation."
329329
else

0 commit comments

Comments
 (0)