Skip to content

Commit

Permalink
fix(debian): pass Date field value through config to fix build reprod…
Browse files Browse the repository at this point in the history
…ucibility
  • Loading branch information
Nipheris committed Apr 11, 2024
1 parent 0add784 commit c86fb9d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/deb/deb-builder.mts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export interface Config {
out: string,
gpgKeyName: string;
origin: string;
date: Date;
repo: DebRepo;
}

Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit c86fb9d

Please sign in to comment.