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