mirror of
https://github.com/mickael-menu/zk
synced 2024-11-03 23:15:49 +00:00
7 lines
177 B
Bash
Executable File
7 lines
177 B
Bash
Executable File
#!/bin/sh
|
|
|
|
VERSION=`git describe --tags 2> /dev/null`
|
|
BUILD=`git rev-parse --short HEAD`
|
|
|
|
go $1 -tags "fts5 icu" -ldflags "-X=main.Version=$VERSION -X=main.Build=$BUILD" ${@:2}
|