frieren
a self-hosted git server in one binary — everyone reads, only the owner writes
build: stamp version from release tags only
5f974aa4481d2df24917ebdefc2d43aad51a6f4f
justin06lee · Aug 18, 2026, 10:12 PM (5h ago)
Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
| @@ -1,4 +1,4 @@ | |||
| 1 | − | VERSION := $(shell git describe --tags --always --dirty 2>/dev/null || echo dev) | |
| 1 | + | VERSION := $(shell git describe --tags --match 'v*' --always --dirty 2>/dev/null || echo dev) | |
| 2 | 2 | INSTALL_DIR := $(HOME)/.local/bin | |
| 3 | 3 | ||
| 4 | 4 | .PHONY: all build install update test clean | |
| 5 | 5 |