@eui/tools 6.2.22 → 6.2.23

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.2.22
1
+ 6.2.23
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.2.23 (2022-11-14)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * **other:**
6
+ * force root project export of gitlab variables - MWP-9010 [MWP-9010](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-9010) ([27a75cec](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/27a75cecd5a2e61ca17ef4c66097335c3e72c604))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.2.22 (2022-11-14)
2
11
 
3
12
  ##### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.2.22",
3
+ "version": "6.2.23",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
package/sandbox.js CHANGED
@@ -1049,10 +1049,15 @@ const versionUtils = require('./scripts/csdr/version/version-utils');
1049
1049
  // })
1050
1050
 
1051
1051
 
1052
- Promise.resolve()
1053
- .then(() => {
1054
- const prjName = 'my-workplace-host';
1055
- const project = configUtils.projects.getCsdrProject(prjName);
1052
+ // Promise.resolve()
1053
+ // .then(() => {
1054
+ // const prjName = 'my-workplace-host';
1055
+ // const project = configUtils.projects.getCsdrProject(prjName);
1056
+
1057
+ // return injectionUtils.routesReplacement.buildRoutes(project, 'TST', true);
1058
+ // })
1059
+
1060
+ const rootDirectory = fs.realpathSync(process.cwd());
1061
+ const rootDirectory2 = process.cwd();
1056
1062
 
1057
- return injectionUtils.routesReplacement.buildRoutes(project, 'TST', true);
1058
- })
1063
+ console.log(rootDirectory, rootDirectory2);
@@ -96,7 +96,7 @@ const storeMetadata = (pkg, diffMetadata, newVersion) => {
96
96
  tools.logInfo(`Unique issues found for this version : ${issuesList}`);
97
97
 
98
98
  if (!dryRun) {
99
- return pipelineUtils.setVariables(pkg.paths.root, `export ISSUES_LIST=${issuesList}\n`);
99
+ return pipelineUtils.setVariables(process.cwd(), `export ISSUES_LIST=${issuesList}\n`);
100
100
  }
101
101
  }
102
102
  })
@@ -609,7 +609,7 @@ module.exports.exportPipelineVariables = (pkg, compositeType) => {
609
609
  utils.tools.logWarning('dryRun...skipping export');
610
610
  } else {
611
611
  utils.tools.logInfo('Exporting appTarget variable');
612
- return utils.pipeline.setVariables(pkg.paths.root, variablesContent);
612
+ return utils.pipeline.setVariables(process.cwd(), variablesContent);
613
613
  }
614
614
  }
615
615
  })