mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
15 lines
762 B
Diff
15 lines
762 B
Diff
|
diff --git a/node_modules/@changesets/assemble-release-plan/dist/assemble-release-plan.cjs.dev.js b/node_modules/@changesets/assemble-release-plan/dist/assemble-release-plan.cjs.dev.js
|
||
|
index 8c8f6fd..025bd00 100644
|
||
|
--- a/node_modules/@changesets/assemble-release-plan/dist/assemble-release-plan.cjs.dev.js
|
||
|
+++ b/node_modules/@changesets/assemble-release-plan/dist/assemble-release-plan.cjs.dev.js
|
||
|
@@ -65,6 +65,9 @@ function incrementVersion(release, preInfo) {
|
||
|
}
|
||
|
|
||
|
let version = semver.inc(release.oldVersion, release.type);
|
||
|
+ if (release.name === 'astro') {
|
||
|
+ version = semver.inc(release.oldVersion, 'prerelease');
|
||
|
+ }
|
||
|
|
||
|
if (preInfo !== undefined && preInfo.state.mode !== "exit") {
|
||
|
let preVersion = preInfo.preVersions.get(release.name);
|