mark2web/build.sh
Sebastian Frank 85126799de
Some checks failed
the build failed
.drone.yml git clone config
2019-02-20 10:57:48 +01:00

5 lines
240 B
Bash
Executable File

#!/bin/sh
mkdir -p dist
go build -v -ldflags "-X main.Version=`git describe --tags --long` -X main.GitHash=`git rev-parse HEAD` -X main.BuildTime=`date -u '+%Y-%m-%d_%I:%M:%S%p'`" -o dist/mark2web-`cat VERSION`-${GOOS}-${GOARCH}${FILEEXT}