Added a smart Changelog : - Publish the Changelog before the app release. If the release has not yet been pushed to production, do not display it. - When the app release is done, make the Changelog available with the correct date. - If the Changelog writing is delayed because the release has already been made, publish it immediately. - Display everything locally to be able to iterate on the changelog and have a preview Added an endpoint for the Changelog --------- Co-authored-by: Ady Beraud <a.beraud96@gmail.com> Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
9 lines
148 B
TypeScript
9 lines
148 B
TypeScript
import { migrate } from '@/database/database';
|
|
|
|
export const initDatabase = async () => {
|
|
await migrate();
|
|
process.exit(0);
|
|
};
|
|
|
|
initDatabase();
|