@commercetools-frontend/application-cli 6.1.0 → 6.1.1

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.
@@ -451,7 +451,7 @@ source_pattern="${assetsPath}/public/{$(IFS=,; echo "\${required_files[*]}")"
451
451
 
452
452
  # Check for optional files and add them to the source_pattern if they exist
453
453
  for file_pattern in "\${optional_files[@]}"; do
454
- if find "$assetsPath" -type f -name "$file_pattern" -print -quit | grep -q .; then
454
+ if find "${assetsPath}/public" -type f -name "$file_pattern" -print -quit | grep -q .; then
455
455
  source_pattern+=",\${file_pattern}"
456
456
  fi
457
457
  done
@@ -459,6 +459,8 @@ done
459
459
  # Close the brace in source_pattern
460
460
  source_pattern+="}"
461
461
 
462
+ echo "Uploading files using the following pattern: \${source_pattern}"
463
+
462
464
  # Expand the source_pattern variable as the below command will not work if the variable is a string
463
465
  expanded_source_pattern=$(eval echo $source_pattern)
464
466
 
@@ -1302,7 +1304,7 @@ async function command(cliFlags) {
1302
1304
 
1303
1305
  var pkgJson = {
1304
1306
  name: "@commercetools-frontend/application-cli",
1305
- version: "6.1.0",
1307
+ version: "6.1.1",
1306
1308
  description: "Internal CLI to manage Merchant Center application deployments across various environments.",
1307
1309
  keywords: [
1308
1310
  "commercetools",
@@ -451,7 +451,7 @@ source_pattern="${assetsPath}/public/{$(IFS=,; echo "\${required_files[*]}")"
451
451
 
452
452
  # Check for optional files and add them to the source_pattern if they exist
453
453
  for file_pattern in "\${optional_files[@]}"; do
454
- if find "$assetsPath" -type f -name "$file_pattern" -print -quit | grep -q .; then
454
+ if find "${assetsPath}/public" -type f -name "$file_pattern" -print -quit | grep -q .; then
455
455
  source_pattern+=",\${file_pattern}"
456
456
  fi
457
457
  done
@@ -459,6 +459,8 @@ done
459
459
  # Close the brace in source_pattern
460
460
  source_pattern+="}"
461
461
 
462
+ echo "Uploading files using the following pattern: \${source_pattern}"
463
+
462
464
  # Expand the source_pattern variable as the below command will not work if the variable is a string
463
465
  expanded_source_pattern=$(eval echo $source_pattern)
464
466
 
@@ -1302,7 +1304,7 @@ async function command(cliFlags) {
1302
1304
 
1303
1305
  var pkgJson = {
1304
1306
  name: "@commercetools-frontend/application-cli",
1305
- version: "6.1.0",
1307
+ version: "6.1.1",
1306
1308
  description: "Internal CLI to manage Merchant Center application deployments across various environments.",
1307
1309
  keywords: [
1308
1310
  "commercetools",
@@ -415,7 +415,7 @@ source_pattern="${assetsPath}/public/{$(IFS=,; echo "\${required_files[*]}")"
415
415
 
416
416
  # Check for optional files and add them to the source_pattern if they exist
417
417
  for file_pattern in "\${optional_files[@]}"; do
418
- if find "$assetsPath" -type f -name "$file_pattern" -print -quit | grep -q .; then
418
+ if find "${assetsPath}/public" -type f -name "$file_pattern" -print -quit | grep -q .; then
419
419
  source_pattern+=",\${file_pattern}"
420
420
  fi
421
421
  done
@@ -423,6 +423,8 @@ done
423
423
  # Close the brace in source_pattern
424
424
  source_pattern+="}"
425
425
 
426
+ echo "Uploading files using the following pattern: \${source_pattern}"
427
+
426
428
  # Expand the source_pattern variable as the below command will not work if the variable is a string
427
429
  expanded_source_pattern=$(eval echo $source_pattern)
428
430
 
@@ -1266,7 +1268,7 @@ async function command(cliFlags) {
1266
1268
 
1267
1269
  var pkgJson = {
1268
1270
  name: "@commercetools-frontend/application-cli",
1269
- version: "6.1.0",
1271
+ version: "6.1.1",
1270
1272
  description: "Internal CLI to manage Merchant Center application deployments across various environments.",
1271
1273
  keywords: [
1272
1274
  "commercetools",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/application-cli",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "description": "Internal CLI to manage Merchant Center application deployments across various environments.",
5
5
  "keywords": [
6
6
  "commercetools",