Files
go-snow/.drone.sh
Nathan Coad b50075083e
All checks were successful
continuous-integration/drone Build is passing
first commit
2025-03-12 19:43:25 +11:00

9 lines
261 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 go-snow
echo "build complete"
sha256sum go-snow > go-snow_checksum.txt
ls -lah