Skip to content

Commit 353dedb

Browse files
fhammerschmidtzth
authored andcommitted
Fix comment in bump-version script
1 parent 1ef7973 commit 353dedb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/bump-version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let newVersion = latestPublish;
1414

1515
// If the main release gets a major bump but did not get published yet, the package.json version
1616
// will be higher than the one retrieved from the marketplace, so we need to increment from the main release
17-
// E.g. package.json gets bumped to 1.5.0 -> 1.6.0
17+
// E.g. package.json gets bumped from 1.6.0 -> 2.0.0
1818
if (semver.major(release) - semver.major(latestPublish) === 1) {
1919
newVersion = semver.inc(release, "minor", semver.rel);
2020
}

0 commit comments

Comments
 (0)