Skip to content

Commit

Permalink
Merge branch 'hotfix/release' into bugfix/CS-44750
Browse files Browse the repository at this point in the history
  • Loading branch information
cs-raj authored Apr 18, 2024
2 parents 84242a1 + 49876a4 commit 83a96f7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/contentstack-bulk-publish/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-cm-bulk-publish",
"description": "Contentstack CLI plugin for bulk publish actions",
"version": "1.4.4",
"version": "1.4.5",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"dependencies": {
Expand Down Expand Up @@ -99,4 +99,4 @@
"version": "oclif readme && git add README.md",
"clean": "rm -rf ./node_modules tsconfig.build.tsbuildinfo"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class CrossPublishCommand extends Command {

flagsAdapter(_flags) {
if ('content-type' in _flags) {
_flags.contentType = _flags['content-type'];
_flags.contentTypes = _flags['content-type'];
delete _flags['content-type'];
}
if ('locales' in _flags) {
Expand Down Expand Up @@ -196,7 +196,7 @@ CrossPublishCommand.flags = {
default: 'true',
}),
'api-version': flags.string({
description : "API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].",
description: 'API Version to be used. Values [Default: 3, Nested Reference Publishing: 3.2].',
}),
contentType: flags.string({
char: 't',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ async function start(
bulkPublish,
_filter,
deliveryToken,
contentType,
contentTypes,
environment,
locale,
onlyAssets,
Expand Down Expand Up @@ -292,8 +292,8 @@ async function start(
};
if (f_types) filter.type = f_types;
// filter.type = (f_types) ? f_types : types // types mentioned in the config file (f_types) are given preference
if (contentType) {
filter.content_type_uid = contentType;
if (contentTypes) {
filter.content_type_uid = contentTypes;
filter.type = 'entry_published';
}
if (onlyAssets) {
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@contentstack/cli-auth": "~1.3.17",
"@contentstack/cli-cm-bootstrap": "~1.9.0",
"@contentstack/cli-cm-branches": "~1.0.24",
"@contentstack/cli-cm-bulk-publish": "~1.4.4",
"@contentstack/cli-cm-bulk-publish": "~1.4.5",
"@contentstack/cli-cm-export": "~1.11.1",
"@contentstack/cli-cm-clone": "~1.10.3",
"@contentstack/cli-cm-export-to-csv": "~1.7.0",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 83a96f7

Please sign in to comment.