@docupace/pipeline 1.0.100 → 1.0.102
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/changelog.js +2 -2
- package/src/next/deploy.js +4 -4
package/package.json
CHANGED
|
@@ -173,8 +173,8 @@ async function fetchNewLink(oldLink, params) {
|
|
|
173
173
|
return jiraReleaseInfo.url;
|
|
174
174
|
} else {
|
|
175
175
|
const data = await uploadToCannyInternal();
|
|
176
|
-
await uploadToJiraInternal(mainTicketId, data
|
|
177
|
-
return data
|
|
176
|
+
await uploadToJiraInternal(mainTicketId, data?.url);
|
|
177
|
+
return data?.url;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
} else {
|
package/src/next/deploy.js
CHANGED
|
@@ -811,10 +811,10 @@ export async function deployFromSite(
|
|
|
811
811
|
console.log(`JIRA Ticket Status: ${status}`);
|
|
812
812
|
console.log(`JIRA Ticket URL: ${jiraTicketUrl}`);
|
|
813
813
|
|
|
814
|
-
const allowedStatuses = ['To Do', 'In Progress'];
|
|
814
|
+
const allowedStatuses = ['To Do', 'In Progress', 'In Deployment'];
|
|
815
815
|
if (!allowedStatuses.includes(status)) {
|
|
816
816
|
console.error(
|
|
817
|
-
`The JIRA ticket status must be "To Do" or "In Progress", but got "${status}"`,
|
|
817
|
+
`The JIRA ticket status must be "To Do" or "In Progress" or "In Deployment", but got "${status}"`,
|
|
818
818
|
);
|
|
819
819
|
console.error(`Please check the JIRA ticket: ${jiraTicketUrl}`);
|
|
820
820
|
process.exit(1);
|
|
@@ -861,10 +861,10 @@ export async function deployFromSite(
|
|
|
861
861
|
console.log(`JIRA Ticket Status: ${status}`);
|
|
862
862
|
console.log(`JIRA Ticket URL: ${jiraTicketUrl}`);
|
|
863
863
|
|
|
864
|
-
const allowedStatuses = ['To Do', 'In Progress'];
|
|
864
|
+
const allowedStatuses = ['To Do', 'In Progress', 'In Deployment'];
|
|
865
865
|
if (!allowedStatuses.includes(status)) {
|
|
866
866
|
console.error(
|
|
867
|
-
`The JIRA ticket status must be "To Do" or "In Progress", but got "${status}"`,
|
|
867
|
+
`The JIRA ticket status must be "To Do" or "In Progress" or "In Deployment", but got "${status}"`,
|
|
868
868
|
);
|
|
869
869
|
console.error(`Please check the JIRA ticket: ${jiraTicketUrl}`);
|
|
870
870
|
process.exit(1);
|