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

This commit is contained in:
2023-09-28 09:36:00 +10:00
parent 402164cea8
commit 738c5034b6
6 changed files with 160 additions and 35 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 ucs-exporter
echo "build complete"
sha256sum ucs-exporter > smt_checksum.txt
ls -lah