We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0665823 commit 43ac911Copy full SHA for 43ac911
update.mjs
@@ -118,6 +118,11 @@ function buildVersion (build) {
118
if (build.prerelease && build.prerelease.length > 0) {
119
version += '-' + build.prerelease
120
}
121
+ // workaround for pre-0.4.0, where prereleases didn't bump the version
122
+ // NOTE: the text must be lexically after 'nightly'
123
+ if (semver.lt(build.version, '0.4.0')) {
124
+ version += '-workaround'
125
+ }
126
if (build.build && build.build.length > 0) {
127
version += '+' + build.build
128
0 commit comments