Skip to content

Commit 09d9057

Browse files
fix: update patch label title (#614)
1 parent 0a863c2 commit 09d9057

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

VKUI/auto-update-release-notes/src/calculateReleaseVersion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export async function calculateReleaseVersion({
4646
return null;
4747
}
4848

49-
const hasPatchLabel = labels.some((label) => label.name === 'patch');
49+
const hasPatchLabel = labels.some((label) => label.name === 'ci:cherry-pick:patch');
5050
const updateType = hasPatchLabel ? 'patch' : 'minor';
5151
const nextVersion = getNextReleaseVersion(latestVersion, updateType);
5252

VKUI/auto-update-release-notes/src/updateReleaseNotes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ describe('run updateReleaseNotes', () => {
459459
},
460460
labels: [
461461
{
462-
name: 'patch',
462+
name: 'ci:cherry-pick:patch',
463463
},
464464
],
465465
};

0 commit comments

Comments
 (0)