@docupace/pipeline 1.0.117 → 1.0.119

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.117",
3
+ "version": "1.0.119",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -23,7 +23,9 @@ export async function validateChangesets() {
23
23
  }
24
24
 
25
25
  if (destBranch.includes('release')) {
26
- if (releases.some((item) => item.type !== 'patch')) {
26
+ if (
27
+ releases.some((item) => item.type !== 'patch' && item.type !== 'none')
28
+ ) {
27
29
  console.error(
28
30
  '❌ A changeset must be a patch for change to a release branch',
29
31
  );
@@ -133,8 +133,7 @@ export const getBitbucketInfo = () => {
133
133
 
134
134
  export const getRepUrl = (repoName) => {
135
135
  const { username, password, workspace } = getBitbucketInfo();
136
- const encodedUsername = encodeURIComponent(username);
137
- return `https://${encodedUsername}:${password}@bitbucket.org/${workspace}/${repoName}.git`;
136
+ return `https://x-bitbucket-api-token-auth:${password}@bitbucket.org/${workspace}/${repoName}.git`;
138
137
  };
139
138
 
140
139
  export const jfRegistryUrl = 'registry.paperout.com';