Smart changelog (#5205)
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>
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { integer, pgTable, text, timestamp } from 'drizzle-orm/pg-core';
|
||||
import { date, integer, pgTable, text, timestamp } from 'drizzle-orm/pg-core';
|
||||
|
||||
export const pgUsers = pgTable('users', {
|
||||
id: text('id').primaryKey(),
|
||||
@ -55,3 +55,8 @@ export const pgGithubStars = pgTable('githubStars', {
|
||||
timestamp: timestamp('timestamp').notNull().defaultNow(),
|
||||
numberOfStars: integer('numberOfStars'),
|
||||
});
|
||||
|
||||
export const pgGithubReleasesModel = pgTable('githubReleases', {
|
||||
tagName: text('tagName').primaryKey(),
|
||||
publishedAt: date('publishedAt', { mode: 'string' }).notNull(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user