mirror of
https://github.com/taskgenius/taskgenius-plugin.git
synced 2026-07-22 06:40:25 +00:00
fix(release): correct require path in beta-continue config
This commit is contained in:
parent
62f235ae06
commit
c9971b8d9c
1 changed files with 8 additions and 5 deletions
|
|
@ -1,9 +1,12 @@
|
|||
// This config is specifically for continuing an existing beta sequence
|
||||
// It does NOT set preRelease to force a new identifier
|
||||
const baseConfig = require('.release-it.beta.cjs');
|
||||
// It keeps preRelease: 'beta' to continue incrementing the beta number
|
||||
const baseConfig = require("./.release-it.beta.cjs");
|
||||
|
||||
// Destructure to remove properties we want to override
|
||||
const { preRelease, ...rest } = baseConfig;
|
||||
|
||||
module.exports = {
|
||||
...baseConfig,
|
||||
// Remove the preRelease setting to allow continuing the existing sequence
|
||||
preRelease: undefined
|
||||
...rest,
|
||||
// Keep preRelease as 'beta' to continue the sequence (e.g., beta.0 -> beta.1)
|
||||
preRelease: "beta",
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue