Skip to content

Date release man pages from the commit - #102

Merged
andrew merged 1 commit into
mainfrom
release-man-commit-date
Nov 29, 2026
Merged

andrew merged 1 commit into
mainfrom
release-man-commit-date

Conversation

@andrew

@andrew andrew commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

The man page generator reads SOURCE_DATE_EPOCH, but the release build never set it, so pages in the release archives were dated by when the build ran. The goreleaser hook now passes the commit timestamp, which matches mod_timestamp on the binaries.

Summary by CodeRabbit

  • Chores
    • Man-page generation now uses the commit timestamp, helping keep generated documentation consistent across builds of the same commit.

@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The goReleaser man-page generation command now sets SOURCE_DATE_EPOCH to .CommitTimestamp.

Changes: Man-page release generation

Layer / File(s) Summary
Set the man-page generation timestamp
.goreleaser.yaml
The man-page generation command sets SOURCE_DATE_EPOCH to .CommitTimestamp.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Possibly related PRs

  • git-pkgs/pin#101: Updates the man-page generator to read SOURCE_DATE_EPOCH, which this change sets in the goReleaser hook.
Merge Risk: Minimal · up to 4085d

Release man pages will carry the source commit's timestamp instead of the build time, which makes them reproducible. No merge-blocking risk was identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Date release man pages from the commit" matches the main change. The .goreleaser.yaml man-page hook now sets SOURCE_DATE_EPOCH to the commit timestamp, so release man pages use the commit t…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Date release man pages from the commit" matches the main change. The .goreleaser.yaml man-page hook now sets SOURCE_DATE_EPOCH to the commit timestamp, so release man pages use the commit time instead of the build time. The title is specific and concise, and it fits the PR objective.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e627d9d3-9323-42af-9bce-912394d140b3
Commits

Reviewing files that changed from the base of the PR and between d8059c7 and 4085d20.

Files selected for processing: 1

  • .goreleaser.yaml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@andrew
andrew merged commit 0a21470 into main Nov 29, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant