Commit Graph

11 Commits

Author SHA1 Message Date
vmfunc 661480a56d feat: stamp and surface the build version
- add internal/version: resolve from the release ldflag, else the go build
  info (module tag / vcs revision), else "dev"
- show the version on the boot banner and for `sif version`
- Makefile now stamps `make` builds via git describe (matching the release ci),
  so local/go-install builds report a real version instead of "dev"
- patchnotes.ShowOnce skips pseudo/dev versions so non-release builds dont make
  a doomed github call
- document sif version / sif patchnote / SIF_NO_PATCHNOTES in the readme + usage
2026-06-09 14:18:28 -07:00
vmfunc f7ef71e835 feat: ship a man page
adds man/sif.1 covering the targets/scans/options/modules flags, the
patchnote and version commands, env vars (incl SIF_NO_PATCHNOTES), and a
few examples. the install/uninstall make targets now drop it in
$(PREFIX)/share/man/man1.
2026-06-08 19:13:50 -07:00
ag-wnl 34d190731a chore: update to be compatible with all minor Go updates 2025-03-15 15:26:09 +05:30
ag-wnl cfe681d793 chore: update makefile to latest go version 2025-03-15 15:19:54 +05:30
vmfunc 5b63515650 chore<build>: improve logging 2024-10-12 21:25:30 +02:00
vmfunc d8ac81cb96 chore<build>: add extra copyrights 2024-10-12 21:21:31 +02:00
vmfunc 592ea1e14f chore<build>: enforce sudo if install fails 2024-10-12 21:16:23 +02:00
vmfunc 7fae5b1c55 chore<build>: force check UNIX system on install 2024-10-12 21:10:24 +02:00
vmfunc 18daaf61f9 chore<build>: add further logging 2024-10-12 21:08:43 +02:00
vmfunc 17aff81ee1 chore<build>: check for go install version before build 2024-10-12 21:08:02 +02:00
Sol Fisher Romanoff 2a3396cdca Add Makefile 2023-09-14 20:46:47 +03:00