Commit graph

3 commits

Author SHA1 Message Date
Thorben Günther
84c4c45d5b
version: Use linker flag
Embedding the version file is slightly annoying for packaging, because
the release tarball is not a git repository and so "go generate" would
fail. Instead a packager would have to manually create the version.txt
file.
With using a linker flag, the version string has a graceful fallback.
2023-02-16 13:06:21 +01:00
Thorben Günther
78801c98e4
Add version flag
And print version at startup.
2023-01-16 14:35:53 +01:00
Thorben Günther
d2243e3a13
Add gitignore 2022-10-09 19:52:32 +02:00