@eui/tools 6.14.5 → 6.14.7

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.14.5
1
+ 6.14.7
package/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## 6.14.7 (2023-12-05)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * wrong branching set for getting version for app-group release - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([2b428c5d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/2b428c5d0145823630998f99506fa38880e318bc))
7
+
8
+ * * *
9
+ * * *
10
+ ## 6.14.6 (2023-12-05)
11
+
12
+ ##### Bug Fixes
13
+
14
+ * **other:**
15
+ * s3 buckets delivery message for app group releases wrongly declared - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([e43cee9a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/e43cee9a04ba341d8ac444d2289b557f5ecfda2d))
16
+
17
+ * * *
18
+ * * *
1
19
  ## 6.14.5 (2023-12-05)
2
20
 
3
21
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.14.5",
3
+ "version": "6.14.7",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -38,14 +38,12 @@ module.exports.run = () => {
38
38
  let isSupportBranch;
39
39
  let isSnapshot;
40
40
  let isMaster;
41
- let isSupport;
42
41
 
43
42
  if (branch) {
44
43
  isSupportSnapshotBranch = branch !== 'master' && branch.indexOf('support/develop') > -1;
45
44
  isSupportBranch = branch !== 'master' && !isSupportSnapshotBranch && branch.indexOf('support/') > -1;
46
45
  isSnapshot = branch !== 'master' && !isSupportBranch;
47
46
  isMaster = branch === 'master';
48
- isSupport = branch !== 'master' && branch.indexOf('support/') > -1;
49
47
  }
50
48
 
51
49
  // deducting envTarget from branch
@@ -117,7 +115,7 @@ module.exports.run = () => {
117
115
  .then(() => {
118
116
  const fixedDeps = configUtils.global.getConfigOptions().NPM_FIXED_DEPENDENCIES;
119
117
  const configDeps = { ...resolvedDeps, ...fixedDeps };
120
- return installUtils.common.getResolvedCarretDeps(configDeps, isMaster || isSupport);
118
+ return installUtils.common.getResolvedCarretDeps(configDeps, isMaster || isSupportBranch);
121
119
  })
122
120
 
123
121
  // Install dependencies
@@ -139,7 +137,8 @@ module.exports.run = () => {
139
137
  })
140
138
 
141
139
  .catch((e) => {
142
- throw e;
140
+ console.log(e);
141
+ process.exit(1);
143
142
  })
144
143
  );
145
144
  };
@@ -285,10 +284,8 @@ const releaseProject = (projectName, isSnapshot, isSupportBranch, branch) => {
285
284
 
286
285
  bucketsDelivered++;
287
286
  }
288
- })
289
287
 
290
- // sending s3 delivery message
291
- .then(() => {
288
+ // sending s3 delivery message
292
289
  return utils.notification.project.sendProjectMessage({
293
290
  project: project,
294
291
  text: `:dart: *${project.name}* - *${bucketsDelivered}* S3 buckets published`,