chore: edit release note
Some checks are pending
Auto merge main -> next / push-commit (push) Waiting to run

This commit is contained in:
xilesun 2024-10-13 18:26:06 +08:00
parent 30febb30be
commit 191a0652a9

View File

@ -345,10 +345,10 @@ async function createRelease(cn, en, to) {
let { ver = 'beta' } = program.opts(); let { ver = 'beta' } = program.opts();
// gh release create -t title -n note // gh release create -t title -n note
if (ver === 'alpha') { if (ver === 'alpha') {
await execa('gh', ['release', 'create', to, '-t', to, '-n', `${en}\n---\n${cn}`, '-p']); await execa('gh', ['release', 'create', to, '-t', to, '-n', en, '-p']);
return; return;
} }
await execa('gh', ['release', 'create', to, '-t', to, '-n', `${en}\n---\n${cn}`]); await execa('gh', ['release', 'create', to, '-t', to, '-n', en]);
} }
async function getExistsChangelog(from, to) { async function getExistsChangelog(from, to) {