Files
joplin/packages/tools/release-server.ts
T
Laurent Cozic 848a2c986a Chore: Remove the need for yarn when bumping version number
Since "yarn version patch" also performs "yarn install" which is usually unnecessary
2025-12-03 11:56:04 +00:00

24 lines
643 B
TypeScript

import { rootDir, gitPullTry, completeReleaseWithChangelog } from './tool-utils';
import { versionPatch } from '@joplin/utils/version';
const serverDir = `${rootDir}/packages/server`;
async function main() {
await gitPullTry();
process.chdir(serverDir);
const version = await versionPatch();
const versionSuffix = '';
const tagName = `server-${version}${versionSuffix}`;
const changelogPath = `${rootDir}/readme/about/changelog/server.md`;
await completeReleaseWithChangelog(changelogPath, version, tagName, 'Server', false);
}
main().catch((error) => {
console.error('Fatal error');
console.error(error);
process.exit(1);
});