@iobroker/legacy-testing 2.0.0 → 2.0.1

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.
Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/package.json +1 -1
  3. package/setup.js +8 -0
package/README.md CHANGED
@@ -18,6 +18,9 @@ Set process.env.JS_CONTROLLER_VERSION to version e.g. `5.0.5-alpha.0-20230617-46
18
18
  ## Changelog
19
19
 
20
20
  <!-- ### **WORK IN PROGRESS** -->
21
+ ### 2.0.1 (2024-11-07)
22
+ - (bluefox) Added the step to upload of the admin files after installation
23
+
21
24
  ### 2.0.0 (2024-11-05)
22
25
 
23
26
  - (bluefox) Function names for GUI tests were changed: startIoBrokerAdmin => startIoBrokerAdapters, stopIoBrokerAdmin => stopIoBrokerAdapters
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.0.0",
2
+ "version": "2.0.1",
3
3
  "name": "@iobroker/legacy-testing",
4
4
  "main": "setup.js",
5
5
  "files": [
package/setup.js CHANGED
@@ -516,6 +516,14 @@ function copyAdapterToController() {
516
516
  stdio: [0, 1, 2],
517
517
  });
518
518
  console.log('Adapter copied.');
519
+
520
+ // update admin files
521
+ execSync(`node ${rootDir}tmp/node_modules/${appName}.js-controller/iobroker.js upload ${pkg.name.replace('iobroker.', '')}`, {
522
+ cwd: `${rootDir}tmp`,
523
+ stdio: [0, 1, 2],
524
+ });
525
+
526
+ console.log('Adapter uploaded.');
519
527
  }
520
528
 
521
529
  function installCustomAdapter(adapterName) {