fix(release): changes

This commit is contained in:
2025-07-12 16:59:48 -05:00
parent 84091ecdba
commit ab1d8fa556
3 changed files with 7065 additions and 7055 deletions

View File

@@ -14,7 +14,7 @@ dotenv.config({ path: "./.env" });
import { createRequire } from "node:module";
const require = createRequire(import.meta.url);
const conventionalChangelog = require("conventional-changelog");
const conventionalChangelog = require("conventional-changelog-conventionalcommits");
// Resolve the directory of the current script
const __filename = fileURLToPath(import.meta.url);
@@ -66,7 +66,6 @@ if (result.status !== 0) {
const getLatestChangelog = async () => {
const changelogStream = conventionalChangelog({
preset: "conventionalcommits",
releaseCount: 1,
});
@@ -74,6 +73,7 @@ const getLatestChangelog = async () => {
for await (const chunk of changelogStream) {
changelog += chunk;
}
return changelog;
};