Files
go-authcheck/.drone.sh
Nathan Coad 8692fa525b
All checks were successful
continuous-integration/drone Build is passing
initial commit
2023-07-19 13:59:42 +10:00

9 lines
267 B
Bash

#!/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 authcheck
echo "build complete"
sha256sum authcheck > authcheck_checksum.txt
ls -lah