@docupace/pipeline 1.0.81-alpha.0 → 1.0.81-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/merge/cli-merge.js
CHANGED
|
@@ -306,10 +306,10 @@ function checkForUncommittedChangesets(sourceBranch, verbose = false) {
|
|
|
306
306
|
stdio: 'pipe',
|
|
307
307
|
});
|
|
308
308
|
|
|
309
|
-
// Check for .md files in .changeset directory
|
|
309
|
+
// Check for .md files in .changeset directory (excluding README.md)
|
|
310
310
|
try {
|
|
311
311
|
const changesetFiles = execSync(
|
|
312
|
-
'find .changeset -name "*.md" 2>/dev/null | head -1',
|
|
312
|
+
'find .changeset -name "*.md" -not -name "README.md" 2>/dev/null | head -1',
|
|
313
313
|
{
|
|
314
314
|
encoding: 'utf8',
|
|
315
315
|
stdio: 'pipe',
|
|
@@ -318,7 +318,7 @@ function checkForUncommittedChangesets(sourceBranch, verbose = false) {
|
|
|
318
318
|
|
|
319
319
|
if (changesetFiles) {
|
|
320
320
|
throw new Error(
|
|
321
|
-
`Cannot merge a branch where version has not been bumped. Found
|
|
321
|
+
`Cannot merge a branch where version has not been bumped. Found changesets in ${sourceBranch}`,
|
|
322
322
|
);
|
|
323
323
|
}
|
|
324
324
|
} catch (error) {
|