@microtronics/studio-cli 0.29.2 → 0.29.4
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.
- package/CHANGELOG.md +14 -0
- package/out/dde/dde.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## 0.29.4 (2025-04-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **studio-cli:** always use a clean app version as reference for dde generation ([da0b45b](https://bitbucket.org/microtronics-core/vscode-studio/commits/da0b45b5d9482056b3ead821e5b20e4083f4f06e))
|
|
9
|
+
|
|
10
|
+
## 0.29.3 (2025-04-25)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **studio-cli:** use current dde version as reference to ([b07ab04](https://bitbucket.org/microtronics-core/vscode-studio/commits/b07ab04f97d560d8b51935b673088dc7b7c21ed4))
|
|
16
|
+
|
|
3
17
|
## 0.29.2 (2025-04-04)
|
|
4
18
|
|
|
5
19
|
## 0.29.1 (2025-04-03)
|
package/out/dde/dde.js
CHANGED
|
@@ -191,14 +191,14 @@ var DDE;
|
|
|
191
191
|
logger.warn('Could not fetch dde of previous version: No API token provided.');
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
194
|
-
const currentVersion = semver.
|
|
194
|
+
const currentVersion = semver.coerce(manifest.version);
|
|
195
195
|
try {
|
|
196
196
|
const appProfile = await registryAPI_1.Registry.getExistingApplication(apiToken, manifest.publisher, manifest.registry.id, env);
|
|
197
197
|
const appVersions = appProfile.versions;
|
|
198
198
|
// find the previous version
|
|
199
199
|
const previousVersion = appVersions.find(version => {
|
|
200
200
|
// the appProfile is fetched with semver header true, therefore is the version.version a valid semver string.
|
|
201
|
-
return !semver.prerelease(version.version) && semver.
|
|
201
|
+
return !semver.prerelease(version.version) && semver.lte(version.version, currentVersion);
|
|
202
202
|
});
|
|
203
203
|
const versionFile = previousVersion?.files.find(file => file.name === 'dde.json');
|
|
204
204
|
if (!versionFile) {
|