@eui/tools 6.20.5 → 6.20.6
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 +1 -1
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/scripts/utils/git-utils.js +5 -5
package/.version.properties
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.20.
|
|
1
|
+
6.20.6
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 6.20.6 (2024-08-07)
|
|
2
|
+
|
|
3
|
+
##### Chores
|
|
4
|
+
|
|
5
|
+
* **other:**
|
|
6
|
+
* add debugGitUpdates option in case of git failure pipeline side - EUI-9788 [EUI-9788](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9788) ([d0a40904](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/d0a40904f4666d008484e5c0dc7600521b8fd39b))
|
|
7
|
+
|
|
8
|
+
* * *
|
|
9
|
+
* * *
|
|
1
10
|
## 6.20.5 (2024-08-07)
|
|
2
11
|
|
|
3
12
|
##### Chores
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ const { getPackageConfig } = require('./notification/config');
|
|
|
11
11
|
// const versionUtils = require('./version-utils');
|
|
12
12
|
|
|
13
13
|
// FETCH ARGS
|
|
14
|
-
const { dryRun, git, debug, build, skipGitUpdates } = tools.getArgs();
|
|
14
|
+
const { dryRun, git, debug, debugGitUpdates, build, skipGitUpdates } = tools.getArgs();
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
const getLastTag = (folder) => {
|
|
@@ -103,9 +103,9 @@ const commitAndPush = (branch, message, folder) => {
|
|
|
103
103
|
} catch (e2) {
|
|
104
104
|
tools.logError('ERROR');
|
|
105
105
|
console.log('ERROR!!!');
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
if (debugGitUpdates) {
|
|
107
|
+
console.log(e2);
|
|
108
|
+
}
|
|
109
109
|
|
|
110
110
|
try {
|
|
111
111
|
tools.logInfo('Commit and push - second try - retrying pull & push');
|
|
@@ -113,7 +113,7 @@ const commitAndPush = (branch, message, folder) => {
|
|
|
113
113
|
execa.sync('git', ['push', 'origin', branch], { cwd: folder });
|
|
114
114
|
|
|
115
115
|
} catch (e3) {
|
|
116
|
-
if (
|
|
116
|
+
if (debugGitUpdates) {
|
|
117
117
|
console.log(e3);
|
|
118
118
|
}
|
|
119
119
|
throw new Error(`Failed to push ${message} to ${folder}`);
|