dnscontrol: fix version reporting (again)
Upstream changed the case of the `main.version` ldflag as part of
https://github.com/StackExchange/dnscontrol/releases/tag/v4.8.1
This seems to have slipped through the 4.7.3 -> 4.8.1 bump in
10faf49380
~~~
# before
❯ dnscontrol version
DNSControl version dev
# after
❯ dnscontrol version
DNSControl version 4.8.2
~~~
This commit is contained in:
parent
788f65a3d7
commit
4a843da662
@ -15,7 +15,7 @@ buildGoModule rec {
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
|
||||
ldflags = [ "-s" "-w" "-X=main.version=${version}" ];
|
||||
|
||||
preCheck = ''
|
||||
# requires network
|
||||
|
Loading…
Reference in New Issue
Block a user