New blog post 🥳

Stamp It! All Programs Must Report Their Version

> […]
>
> In this article, I’ll explain how 3 simple steps (Stamp it! Plumb it! Report it!) are sufficient to save you hours of delays and stress during incident response.

Read more: https://michael.stapelberg.ch/posts/2026-04-05-stamp-it-all-programs-must-report-their-version/

#nix #golang #linux

@zekjur in Git, you can mark files as export-subst [1] and thus place the describe output in git-archive generated tarballs (like the ones GitHub offers) via "$Format:%(describe)$" or similar. Putting that into the VERSION file makes `git describe || cat VERSION` do the right thing in 99.999%[2] of the cases.

[1] https://git-scm.com/docs/git-archive/2.29.0#ATTRIBUTES
[2] not scientifically proven

Git - git-archive Documentation