@eui/tools 4.21.16 → 4.21.17

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.
@@ -1 +1 @@
1
- 4.21.16
1
+ 4.21.17
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 4.21.17 (2022-04-20)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * adapted devops-metadata not using shallow clone on release - EUI-4106 [EUI-4106](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4106) ([aa08b8b7](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/aa08b8b7eb890740575ed3ab72f4a5c8aa626095))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 4.21.16 (2022-04-20)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "4.21.16",
3
+ "version": "4.21.17",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -26,7 +26,7 @@ module.exports.install = (pkg) => {
26
26
 
27
27
  // cloning devops metadata repo
28
28
  .then(() => {
29
- return metadataUtils.common.cloneMetadataRepo();
29
+ return metadataUtils.common.cloneMetadataRepo(true);
30
30
  })
31
31
 
32
32
 
@@ -16,7 +16,7 @@ const innerAppHistory = require('./app-history');
16
16
  const innerAppEnvs = require('./app-envs');
17
17
 
18
18
 
19
- module.exports.cloneMetadataRepo = () => {
19
+ module.exports.cloneMetadataRepo = (noHistory = false) => {
20
20
  const configOptions = configUtils.global.getConfigOptions();
21
21
 
22
22
  tools.logTitle('Cloning devops metadata repo');
@@ -28,7 +28,7 @@ module.exports.cloneMetadataRepo = () => {
28
28
  } else {
29
29
  return Promise.resolve()
30
30
  .then(() => {
31
- return gitUtils.cloneRepo(configOptions.DEVOPS_METADATA_REPOSITORY, configOptions.DEVOPS_METADATA_PATH, false, true);
31
+ return gitUtils.cloneRepo(configOptions.DEVOPS_METADATA_REPOSITORY, configOptions.DEVOPS_METADATA_PATH, false, noHistory);
32
32
  })
33
33
  .catch((e) => {
34
34
  throw e;
@@ -8,6 +8,10 @@ const configUtils = require('../../../csdr/config/config-utils');
8
8
 
9
9
 
10
10
  const getEnvTarget = (envTarget, build) => {
11
+ if (!envTarget) {
12
+ throw 'ENV_TARGET_NOT_FOUND';
13
+ }
14
+
11
15
  let envTargetFinal = envTarget.toLowerCase();
12
16
 
13
17
  if (build) {