@eui/tools 5.3.50 → 5.3.52
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.52
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 5.3.52 (2022-09-21)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* second retry on git commit using -X their strategy - EUI-4107 [EUI-4107](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-4107) ([15350bbd](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/15350bbdab94dc07455306f9daeecd3a66b81278))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
10
|
+
## 5.3.51 (2022-09-20)
|
|
11
|
+
|
|
12
|
+
##### Chores
|
|
13
|
+
|
|
14
|
+
* **other:**
|
|
15
|
+
* 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))
|
|
16
|
+
|
|
17
|
+
* * *
|
|
18
|
+
* * *
|
|
1
19
|
## 5.3.50 (2022-09-16)
|
|
2
20
|
|
|
3
21
|
##### 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
|
|
|
@@ -110,8 +110,8 @@ const commitAndPush = (branch, message, folder) => {
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
try {
|
|
113
|
-
tools.logInfo('Commit and push - second try - retrying pull push');
|
|
114
|
-
execa.sync('git', ['pull', 'origin', branch], { cwd: folder });
|
|
113
|
+
tools.logInfo('Commit and push - second try - retrying pull -X theirs & push');
|
|
114
|
+
execa.sync('git', ['pull -X theirs', 'origin', branch], { cwd: folder });
|
|
115
115
|
execa.sync('git', ['push', 'origin', branch], { cwd: folder });
|
|
116
116
|
|
|
117
117
|
} catch (e3) {
|