@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 +1 -1
- package/src/changeset/validate.js +3 -1
- package/src/next/config.js +1 -2
package/package.json
CHANGED
|
@@ -23,7 +23,9 @@ export async function validateChangesets() {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
if (destBranch.includes('release')) {
|
|
26
|
-
if (
|
|
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
|
);
|
package/src/next/config.js
CHANGED
|
@@ -133,8 +133,7 @@ export const getBitbucketInfo = () => {
|
|
|
133
133
|
|
|
134
134
|
export const getRepUrl = (repoName) => {
|
|
135
135
|
const { username, password, workspace } = getBitbucketInfo();
|
|
136
|
-
|
|
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';
|