Implemented basic functionality.

This commit is contained in:
2025-07-27 18:04:55 +02:00
parent ed366e4603
commit 5434867c49
9 changed files with 671 additions and 28 deletions

9
build.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
# Build script for lab-ca with version injection from git tag
git describe --tags --always --dirty > /dev/null 2>&1
if [ $? -eq 0 ]; then
VERSION=$(git describe --tags --always --dirty)
else
VERSION="dev"
fi
go build -ldflags "-X main.Version=$VERSION" -o lab-ca