Skip to content

Commit 74d2c85

Browse files
committed
fix: label char limit
1 parent 9849321 commit 74d2c85

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

scripts/release.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ const getConfig = ({ gitBranchName }) => {
2424
label: `${ repoName }.zip`,
2525
},
2626
],
27+
// Custom label template that caps at 50 chars (GitHub's limit).
28+
releasedLabels: [
29+
'<%= ("released" + (nextRelease.channel ? " on @" + nextRelease.channel : "")).substring(0, 50) %>',
30+
],
2731
};
2832

2933
// Only post GH PR comments for alpha, hotfix/*, and release branches.

0 commit comments

Comments
 (0)