@docupace/pipeline 1.0.60-alpha.0 → 1.0.60-alpha.1
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/changeset/cli.js
CHANGED
|
@@ -30,13 +30,13 @@ export async function validateChangesets() {
|
|
|
30
30
|
console.error(
|
|
31
31
|
'❌ No changeset found. Please add a changeset to this PR. Please see more information at https://docupacellc.atlassian.net/wiki/spaces/PM/pages/1350893571/Creating+changesets+for+Docupace+Next',
|
|
32
32
|
);
|
|
33
|
-
|
|
33
|
+
process.exit(-1);
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
if(!['master', 'main'].includes(destBranch)) {
|
|
37
37
|
if(releases.some(item => item.type !== 'patch')) {
|
|
38
38
|
console.error('❌ A changeset must be a patch for change to a release branch');
|
|
39
|
-
|
|
39
|
+
process.exit(-1);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|