@eui/tools 6.20.4 → 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.
@@ -1 +1 @@
1
- 6.20.4
1
+ 6.20.6
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
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
+ * * *
10
+ ## 6.20.5 (2024-08-07)
11
+
12
+ ##### Chores
13
+
14
+ * **other:**
15
+ * skip sonar run for standalone pkg temporary - EUI-9788 [EUI-9788](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-9788) ([8f912571](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/8f912571e406dfa8ecaeb27af343a85bb4687a29))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.20.4 (2024-08-07)
2
20
 
3
21
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.20.4",
3
+ "version": "6.20.6",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -16,7 +16,7 @@ const innerCommon = require('./common');
16
16
  // LOCAL TEST :
17
17
  // - symlink eUI tools sources to node_modules of standalone pkg folder node_modules to test
18
18
  // - execute this command on the standalone pkg folder :
19
- // npx @eui/tools release-package-standalone --dryRun --branch develop --debug --debugNotification --skipCommitsCheck --skipAudit --skipPublish --skipGitUpdates --skipLint --skipTest
19
+ // npx @eui/tools release-package-standalone --dryRun --branch develop --debug --debugNotification --skipCommitsCheck --skipPublish --skipGitUpdates --skipLint --skipTest
20
20
 
21
21
 
22
22
  module.exports.run = () => {
@@ -105,9 +105,9 @@ module.exports.run = () => {
105
105
  })
106
106
 
107
107
  // EXECUTING SONAR ANALYSIS
108
- .then(() => {
109
- return utils.sonar.run(pkg, branches.isMaster);
110
- })
108
+ // .then(() => {
109
+ // return utils.sonar.run(pkg, branches.isMaster);
110
+ // })
111
111
 
112
112
  // GENERATE and UPDATE new version
113
113
  .then(() => {
@@ -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
- // if (debug) {
107
- // console.log(e2);
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 (debug) {
116
+ if (debugGitUpdates) {
117
117
  console.log(e3);
118
118
  }
119
119
  throw new Error(`Failed to push ${message} to ${folder}`);