mark2web/build.sh
Sebastian Frank 97432a5daf
All checks were successful
the build was successful
prepare release
2019-02-20 09:12:25 +01:00

5 lines
211 B
Bash
Executable File

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