fix: semantic-release now working correctly in development

This commit is contained in:
2024-06-22 14:39:50 -04:00
parent 9fdab2acc9
commit ab6b909fba

View File

@@ -7,7 +7,9 @@ try {
const dryRunOutput = execSync('npx semantic-release --dry-run').toString();
// Extract the version number from the semantic-release output
const versionMatch = dryRunOutput.match(/next version in .* is ([\d.]+)/);
const versionMatch = dryRunOutput.match(
/The next release version is ([\S]+)/
);
if (!versionMatch) {
throw new Error('Version number not found in semantic-release output');
}