forked from blek/bshchk
1
0
Fork 0
bshchk/run.sh

7 lines
142 B
Bash
Raw Permalink Normal View History

2024-06-02 11:32:17 +02:00
#!/bin/sh
ver=$(git describe --tags 2> /dev/null)
if [ "$ver" == "" ]; then ver='master'; fi
go run -ldflags "-X main.version=$ver" *.go $*