@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.60-alpha.0",
3
+ "version": "1.0.60-alpha.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -111,7 +111,6 @@ program
111
111
  return;
112
112
  }
113
113
  await validateChangesets();
114
- process.exit(1);
115
114
  });
116
115
  // Command: version
117
116
  program
@@ -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
- return;
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
- return;
39
+ process.exit(-1);
40
40
  }
41
41
  }
42
42