@eui/tools 6.15.18 → 6.15.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.15.18
1
+ 6.15.19
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 6.15.19 (2024-03-05)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * support multi-tag for snapshot and releases - EUI-8994 [EUI-8994](https://webgate.ec.europa.eu/CITnet/jira/browse/EUI-8994) ([f771fe0d](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/f771fe0dd7e91cf5f57d1f9a47bee597c1c0b7d8))
7
+ * support multi-tag for snapshot and releases ([e12b35cb](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/e12b35cbd215c24d1d711458f36dbe8cb6da094e))
8
+
9
+ * * *
10
+ * * *
1
11
  ## 6.15.18 (2024-02-22)
2
12
 
3
13
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.15.18",
3
+ "version": "6.15.19",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -17,16 +17,14 @@ const { dryRun, nexusUser, nexusPassword } = tools.getArgs();
17
17
  const writePackageJsonCore = (newVersion, folder, isSnapshot, isNextBranch, isSupportBranch, isHotfixBranch, envTarget) => {
18
18
  return Promise.resolve()
19
19
  .then(() => {
20
- let tag;
20
+ let tag = 'latest';
21
21
 
22
22
  if (isSnapshot) {
23
- tag = 'snapshot';
23
+ tag = `v${newVersion.split('.')[0]}-snapshot`;
24
24
  } else if (isNextBranch) {
25
25
  tag = 'next';
26
26
  } else if (isSupportBranch) {
27
- tag = 'prev';
28
- } else {
29
- tag = 'latest';
27
+ tag = `v${newVersion.split('.')[0]}-lts`;
30
28
  }
31
29
 
32
30
  if (dryRun) {