@eui/tools 5.3.57 → 5.3.59

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
- 5.3.57
1
+ 5.3.59
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 5.3.59 (2022-09-26)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * remove devops-medata repos cloning for backend builds - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([57708ea3](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/57708ea3242b47d115796c26df15b1629c27fb4d))
7
+
8
+ * * *
9
+ * * *
10
+ ## 5.3.58 (2022-09-26)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * remove devops-medata repos cloning for backend builds - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([d2677d1e](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/d2677d1e88148879d57cb18705d9c2d3fcf83081))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 5.3.57 (2022-09-22)
2
20
 
3
21
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "5.3.57",
3
+ "version": "5.3.59",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -120,17 +120,24 @@ module.exports.init = (pkg, envTarget, compositeType) => {
120
120
  });
121
121
  })
122
122
 
123
- // CLONE METADATA REPO
123
+ .catch((e) => {
124
+ throw e;
125
+ })
126
+ }
127
+
128
+
129
+ module.exports.cloneMetadataRepos = () => {
130
+ utils.tools.logBanner('CLONE METADATA REPOS');
131
+
132
+ return Promise.resolve()
124
133
  .then(() => {
125
134
  // cloning metadata repo as further installation is based on historical builds from the past
126
135
  return metadataUtils.common.cloneMetadataRepo();
127
136
  })
128
-
129
137
  // CLONE METADATA LOCKS REPO
130
138
  .then(() => {
131
139
  return metadataUtils.common.cloneMetadataLocksRepo();
132
140
  })
133
-
134
141
  .catch((e) => {
135
142
  throw e;
136
143
  })
@@ -138,9 +145,6 @@ module.exports.init = (pkg, envTarget, compositeType) => {
138
145
 
139
146
 
140
147
 
141
-
142
-
143
-
144
148
  module.exports.preReleaseChecks = (pkg) => {
145
149
  utils.tools.logBanner('PRE-RELEASE checks');
146
150
 
@@ -42,20 +42,28 @@ module.exports.run = () => {
42
42
 
43
43
 
44
44
  return Promise.resolve()
45
+ // LOGGING CURRENT eUI TOOLS VERSION
45
46
  .then(() => {
46
47
  utils.tools.logVersion();
47
48
  })
48
49
 
49
-
50
50
  // RELEASE PACKAGE START
51
51
  .then(() => {
52
52
  return innerCommon.init(pkg, envTarget, compositeType);
53
53
  })
54
54
 
55
+ // FOR UI and REMOTES clone metadata repositories
56
+ .then(() => {
57
+ if (!pkg.backend) {
58
+ return innerCommon.cloneMetadataRepos();
59
+ }
60
+ })
55
61
 
56
62
  // PRE-RELEASE & COMMON CHECKS
57
63
  .then(() => {
58
- return innerCommon.preReleaseChecks(pkg);
64
+ if (!pkg.backend) {
65
+ return innerCommon.preReleaseChecks(pkg);
66
+ }
59
67
  })
60
68
 
61
69
  // FETCHING COMMITS METADATA