]> git.pld-linux.org Git - packages/caddy.git/blame - build-date.patch
include gitTag for version
[packages/caddy.git] / build-date.patch
CommitLineData
7d444fc4
ER
1unable to pass -X main.buildDate as ldflags if it contains space
2
3likely go link command lacks proper argument passing that it loses spaces
4
5so patch the source directly
6
7--- caddy-0.8.3/main.go~ 2016-04-26 18:28:05.000000000 +0300
8+++ caddy-0.8.3/main.go 2016-05-22 14:13:18.927407255 +0300
9@@ -233,7 +233,7 @@
10 appVersion = "(untracked dev build)" // inferred at startup
11 devBuild = true // inferred at startup
12
13- buildDate string // date -u
14+ buildDate = "(unknown)" // date -u
15 gitTag string // git describe --exact-match HEAD 2> /dev/null
16 gitNearestTag string // git describe --abbrev=0 --tags HEAD
17 gitCommit string // git rev-parse HEAD
This page took 0.090501 seconds and 4 git commands to generate.