@eui/tools 6.11.18 → 6.11.19

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.11.18
1
+ 6.11.19
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.11.19 (2023-05-05)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * add hotfix flag if present to package version metadata for later parsing - EUI-7121 [EUI-7121](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-7121) ([60fecf8a](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/60fecf8a32e34485d49927554e009f777e5198fa))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.11.18 (2023-05-05)
2
11
 
3
12
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.11.18",
3
+ "version": "6.11.19",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -37,7 +37,7 @@ module.exports.getMetadataSync = (pkg) => {
37
37
  return tools.getJsonFileContent(path.join(DEVOPS_METADATA_PATH, pkg.devopsVersionsMetadataFile));
38
38
  }
39
39
 
40
- module.exports.storeMetadata = (pkg, pkgVersion, pkgCompositeDeps, duration, envTarget) => {
40
+ module.exports.storeMetadata = (pkg, pkgVersion, pkgCompositeDeps, duration, envTarget, branches) => {
41
41
  return Promise.resolve()
42
42
  .then(() => {
43
43
  tools.logInfo('Storing package version history metadata...');
@@ -60,13 +60,19 @@ module.exports.storeMetadata = (pkg, pkgVersion, pkgCompositeDeps, duration, env
60
60
  versions = generatedMetadata.versions;
61
61
  }
62
62
 
63
+ let isHotfixVersion = false;
64
+ if (branches) {
65
+ isHotfixVersion = branches.isHotfix;
66
+ }
67
+
63
68
  const newVersionMetadata = {
64
69
  name: pkg.name,
65
70
  version: pkgVersion,
66
71
  date: moment(new Date()).format("YYYYMMDD-HH:mm"),
67
72
  npmPkg: pkg.npmPkg,
68
73
  duration: duration,
69
- envTarget: envTarget
74
+ envTarget: envTarget,
75
+ hotfix: isHotfixVersion,
70
76
  };
71
77
 
72
78
  if (pkg.remote) {
@@ -23,7 +23,7 @@ module.exports.storeMetadata = (pkg, pkgVersion, pkgMetadata, branches, pkgCompo
23
23
 
24
24
  return Promise.resolve()
25
25
  .then(() => {
26
- return innerPackageVersions.storeMetadata(pkg, pkgVersion, pkgCompositeDeps, duration, envTarget);
26
+ return innerPackageVersions.storeMetadata(pkg, pkgVersion, pkgCompositeDeps, duration, envTarget, branches);
27
27
  })
28
28
 
29
29
  .then(() => {