@storm-software/git-tools 2.131.14 → 2.131.15
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/bin/git.cjs +20 -4
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +20 -4
- package/bin/git.js.map +1 -1
- package/package.json +2 -2
package/bin/git.js
CHANGED
|
@@ -3785,18 +3785,34 @@ var StormReleaseGroupProcessor = class extends ReleaseGroupProcessor {
|
|
|
3785
3785
|
let bumped = false;
|
|
3786
3786
|
const firstProject = releaseGroup.projects.reduce((ret, project) => {
|
|
3787
3787
|
const currentVersion = this.#getCurrentCachedVersionForProject(project);
|
|
3788
|
+
if (!currentVersion) {
|
|
3789
|
+
writeTrace(
|
|
3790
|
+
`No current version found for project ${project} in release group ${releaseGroup.name}, skipping version comparison.`,
|
|
3791
|
+
this.workspaceConfig
|
|
3792
|
+
);
|
|
3793
|
+
return "";
|
|
3794
|
+
}
|
|
3788
3795
|
if (!ret) {
|
|
3789
|
-
|
|
3796
|
+
writeTrace(
|
|
3797
|
+
`Defaulting to first version ${currentVersion} (project: ${project})`,
|
|
3798
|
+
this.workspaceConfig
|
|
3799
|
+
);
|
|
3800
|
+
return project;
|
|
3790
3801
|
}
|
|
3791
3802
|
const largestVersion = this.#getCurrentCachedVersionForProject(ret);
|
|
3792
3803
|
if (!largestVersion) {
|
|
3793
|
-
|
|
3804
|
+
writeTrace(
|
|
3805
|
+
`No current version found for project ${ret} in release group ${releaseGroup.name}, skipping version comparison.`,
|
|
3806
|
+
this.workspaceConfig
|
|
3807
|
+
);
|
|
3808
|
+
return project;
|
|
3794
3809
|
}
|
|
3795
3810
|
writeDebug(
|
|
3796
|
-
`Comparing versions for fixed group ${releaseGroup.name}: Current Greatest Version: ${largestVersion}, Current Project Version: ${currentVersion} (project: ${project})
|
|
3811
|
+
`Comparing versions for fixed group ${releaseGroup.name}: Current Greatest Version: ${largestVersion}, Current Project Version: ${currentVersion} (project: ${project})`,
|
|
3812
|
+
this.workspaceConfig
|
|
3797
3813
|
);
|
|
3798
3814
|
if (currentVersion && semver.gt(currentVersion, largestVersion)) {
|
|
3799
|
-
return
|
|
3815
|
+
return project;
|
|
3800
3816
|
}
|
|
3801
3817
|
return ret;
|
|
3802
3818
|
}, "");
|