diff --git a/src/deb/deb-builder.mts b/src/deb/deb-builder.mts index a34aed9..41fc420 100644 --- a/src/deb/deb-builder.mts +++ b/src/deb/deb-builder.mts @@ -70,6 +70,7 @@ export interface Config { out: string, gpgKeyName: string; origin: string; + date: Date; repo: DebRepo; } @@ -115,7 +116,7 @@ export class DebBuilder implements Deployer { .replace('$DISTRIBUTION', distribution) .replace('$ARCH', arch) .replace('$COMPONENT', component) - .replace('$DATE', new Date().toUTCString()); + .replace('$DATE', this.config.date.toUTCString()); releaseContent += 'SHA256:\n'; for (const { address, size, name } of indices) {