update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-10 14:11:43 +11:00
parent df047ffd71
commit 92e1fdf7c9
3 changed files with 40 additions and 0 deletions

9
.drone.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
export now=$(TZ=Australia/Sydney date '+%Y%m%d-%H%M%S')
echo $now
echo "build commences"
go build -ldflags "-X main.sha1ver=`git rev-parse HEAD` -X main.buildTime=$now" -o ntpcheck
echo "build complete"
sha256sum ntpcheck > ntpcheck_checksum.txt
ls -lah