Skip to content

Commit cda72b5

Browse files
chore: remove comment
1 parent e92f001 commit cda72b5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scripts/release.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ async function getNewVersion() {
107107
const tags = await getVersionsFromGitTags();
108108
const latestOfficialTag = tags.find(tag => !tag.includes('-beta.') && !tag.includes('-dev.'));
109109
// If no official version found, use v0.0.0 as the starting point
110-
// Otherwise, use a regex to extract the version number from the tag, matching:
111-
// - \d+\.\d+\.\d+ - Major.Minor.Patch numbers
112-
// - (?:-[a-zA-Z0-9\-\.]+)? - Optional pre-release (e.g., -beta.1, -alpha.2)
113-
// - (?:\+[a-zA-Z0-9\-\.]+)? - Optional build metadata (e.g., +build.123)
114110
const latestOfficialVersion = latestOfficialTag
115111
? semver.coerce(latestOfficialTag).version
116112
: '0.0.0';

0 commit comments

Comments
 (0)