mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2025-10-16 13:50:57 +08:00
change version format
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,7 +1,7 @@
|
||||
NAME=tun2socks
|
||||
BUILDDIR=$(shell pwd)/build
|
||||
CMDDIR=$(shell pwd)/cmd/tun2socks
|
||||
VERSION=$(shell git describe --tags || echo "unknown version")
|
||||
VERSION=$(shell git describe --tags --long || echo "unknown version")
|
||||
BUILDTIME=$(shell date -u)
|
||||
BUILD_TAGS='socks fakedns d stats'
|
||||
BUILD_LDFLAGS='-s -w -X "main.version=$(VERSION)" -X "main.buildTime=$(BUILDTIME)"'
|
||||
|
Reference in New Issue
Block a user