Skip to content

Commit b1ab24e

Browse files
Merge pull request #1706 from contentstack/development
Fix: Unpublish command
2 parents 9d95550 + 097217e commit b1ab24e

File tree

5 files changed

+171
-168
lines changed

5 files changed

+171
-168
lines changed

package-lock.json

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/contentstack-bulk-publish/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@contentstack/cli-cm-bulk-publish",
33
"description": "Contentstack CLI plugin for bulk publish actions",
4-
"version": "1.7.0",
4+
"version": "1.7.1",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"dependencies": {

packages/contentstack-bulk-publish/src/producer/unpublish.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ async function getSyncEntries(
213213
if (queryParamsObj.type) {
214214
syncData['type'] = queryParamsObj.type;
215215
}
216+
if(queryParamsObj.content_type_uid) {
217+
syncData['content_type_uid'] = queryParamsObj.content_type_uid;
218+
}
216219

217220
const entriesResponse = await Stack.sync(syncData);
218221
if (entriesResponse.items.length > 0) {

packages/contentstack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@contentstack/cli-auth": "~1.3.22",
2727
"@contentstack/cli-cm-bootstrap": "~1.13.0",
2828
"@contentstack/cli-cm-branches": "~1.2.0",
29-
"@contentstack/cli-cm-bulk-publish": "~1.7.0",
29+
"@contentstack/cli-cm-bulk-publish": "~1.7.1",
3030
"@contentstack/cli-cm-export": "~1.14.1",
3131
"@contentstack/cli-cm-clone": "~1.13.0",
3232
"@contentstack/cli-cm-export-to-csv": "~1.7.3",

0 commit comments

Comments
 (0)