httpcat-cli 0.2.1-rc.2 → 0.2.1-rc.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.
|
@@ -100,8 +100,20 @@ jobs:
|
|
|
100
100
|
});
|
|
101
101
|
compareData = response.data;
|
|
102
102
|
console.log(`Found ${compareData.commits.length} commits in this push`);
|
|
103
|
+
|
|
104
|
+
// Log commit messages for debugging (first 10)
|
|
105
|
+
if (compareData.commits.length > 0) {
|
|
106
|
+
console.log('Commits being analyzed:');
|
|
107
|
+
for (const commit of compareData.commits.slice(0, 10)) {
|
|
108
|
+
const msg = commit.commit.message.split('\n')[0];
|
|
109
|
+
console.log(` - ${msg}`);
|
|
110
|
+
}
|
|
111
|
+
if (compareData.commits.length > 10) {
|
|
112
|
+
console.log(` ... and ${compareData.commits.length - 10} more`);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
103
115
|
} catch (e) {
|
|
104
|
-
console.log(
|
|
116
|
+
console.log(`⚠️ Could not compare commits in push, falling back to last release: ${e.message}`);
|
|
105
117
|
// Fallback to comparing with last release tag
|
|
106
118
|
if (lastTag) {
|
|
107
119
|
let baseSha;
|