@eui/tools 5.3.50 → 5.3.51
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.
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.3.
|
|
1
|
+
5.3.51
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 5.3.51 (2022-09-20)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* disabled backend central metadata updates - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([ff68d23b](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/ff68d23be69e9a9f8b0a4f0b8522b69f8fbeb410))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 5.3.50 (2022-09-16)
|
|
2
11
|
|
|
3
12
|
##### Bug Fixes
|
package/package.json
CHANGED
|
@@ -74,6 +74,11 @@ module.exports.storeMetadata = (
|
|
|
74
74
|
.then(() => {
|
|
75
75
|
tools.logInfo('Storing pkg devops metadata...');
|
|
76
76
|
|
|
77
|
+
if (pkg.backend) {
|
|
78
|
+
tools.logInfo('Backend package detected...skipping central metadata updates');
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
|
|
77
82
|
const metadataFile = path.join(
|
|
78
83
|
configOptions.DEVOPS_METADATA_PATH,
|
|
79
84
|
configOptions.DEVOPS_METADATA_JSON
|
|
@@ -242,7 +247,6 @@ module.exports.storeMetadata = (
|
|
|
242
247
|
tools.writeJsonFileSync(metadataFile, metadata);
|
|
243
248
|
} else {
|
|
244
249
|
tools.logInfo(`Write metadata on ${metadataFile}`);
|
|
245
|
-
// console.log(metadata);
|
|
246
250
|
}
|
|
247
251
|
|
|
248
252
|
devopsMetadata = metadata;
|
|
@@ -147,11 +147,15 @@ const writePomXml = (pkg, newVersion, isSnapshot, isForceTimestamp = true) => {
|
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
module.exports.updateVersion = (pkg, newVersion, isSnapshot, isNextBranch, isSupportBranch, isHotfixBranch, envTarget) => {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
150
|
+
try {
|
|
151
|
+
if (pkg.backend) {
|
|
152
|
+
return writePomXml(pkg, newVersion, isSnapshot);
|
|
153
|
+
}
|
|
154
|
+
else {
|
|
155
|
+
return writePackageJson(pkg, newVersion, isSnapshot, isNextBranch, isSupportBranch, isHotfixBranch, envTarget);
|
|
156
|
+
}
|
|
157
|
+
} catch(e) {
|
|
158
|
+
throw e;
|
|
155
159
|
}
|
|
156
160
|
}
|
|
157
161
|
|