mirror of
https://github.com/laurent22/joplin.git
synced 2026-05-03 21:10:20 -05:00
848a2c986a
Since "yarn version patch" also performs "yarn install" which is usually unnecessary
24 lines
643 B
TypeScript
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);
|
|
});
|