thislooksfun/snoots

Move updateVersion("latest", name); to else before releasing 1.0.0

thislooksfun opened this issue · 0 comments

updateVersion("latest", name);
if (prerelease.length > 0) {
const prType = prerelease[0];
updateVersion(`v${major}.${minor}.${patch}-${prType}`, name);
updateVersion(prType, name);
} else {
updateVersion(`v${major}.${minor}.x`, name);
updateVersion(`v${major}.x.x`, name);
updateVersion("stable", name);
}