We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2aeddcf commit 13261d0Copy full SHA for 13261d0
1 file changed
src/changelog.ts
@@ -91,8 +91,6 @@ export async function runGenerateChangelog(opts: ReleaseOptions) {
91
break;
92
}
93
94
-
95
- pkg.changelogs.reverse();
96
97
98
// no change
@@ -159,6 +157,8 @@ async function createChangelog(opts: ReleaseOptions) {
159
157
160
158
const { changelogs = [] } = pkg;
161
+ pkg.changelogs?.reverse();
+
162
for (const changelog of changelogs) {
163
const tags = changelog.tags.filter(s => s);
164
@@ -179,6 +179,8 @@ async function createChangelog(opts: ReleaseOptions) {
179
content = `## ${title}\n\n${msg || `- No Change`}\n\n` + content;
180
181
182
183
184
if (dryRun) {
185
console.log(content);
186
} else {
0 commit comments