We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62f235a commit c9971b8Copy full SHA for c9971b8
.release-it.beta-continue.cjs
@@ -1,9 +1,12 @@
1
// This config is specifically for continuing an existing beta sequence
2
-// It does NOT set preRelease to force a new identifier
3
-const baseConfig = require('.release-it.beta.cjs');
+// It keeps preRelease: 'beta' to continue incrementing the beta number
+const baseConfig = require("./.release-it.beta.cjs");
4
+
5
+// Destructure to remove properties we want to override
6
+const { preRelease, ...rest } = baseConfig;
7
8
module.exports = {
- ...baseConfig,
- // Remove the preRelease setting to allow continuing the existing sequence
- preRelease: undefined
9
+ ...rest,
10
+ // Keep preRelease as 'beta' to continue the sequence (e.g., beta.0 -> beta.1)
11
+ preRelease: "beta",
12
};
0 commit comments