chore: release multiple packages (#9698)

This commit is contained in:
Marcel Mraz
2025-06-30 12:19:15 +02:00
committed by GitHub
parent c141500400
commit 258605d1d5
17 changed files with 285 additions and 237 deletions

View File

@ -20,14 +20,16 @@ const headerForType = {
perf: "Performance",
build: "Build",
};
const badCommits = [];
const getCommitHashForLastVersion = async () => {
try {
const commitMessage = `"release @excalidraw/excalidraw@${lastVersion}"`;
const commitMessage = `"release @excalidraw/excalidraw"`;
const { stdout } = await exec(
`git log --format=format:"%H" --grep=${commitMessage}`,
);
return stdout;
// take commit hash from latest release
return stdout.split(/\r?\n/)[0];
} catch (error) {
console.error(error);
}