3 lines
180 B
Bash
3 lines
180 B
Bash
|
|
#!/bin/bash
|
||
|
|
VERSION=$(git describe --tags --always --dirty 2>/dev/null || echo "")
|
||
|
|
go build -ldflags "-X github.com/titor/fanyi/internal/logo.version=${VERSION}" -o yoyo ./cmd/yoyo
|