Unverified Commit 4a843da6 authored by emilylange's avatar emilylange
Browse files

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
10faf493

~~~
# before
❯ dnscontrol version
DNSControl version dev

# after
❯ dnscontrol version
DNSControl version 4.8.2
~~~
parent 788f65a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ buildGoModule rec {

  subPackages = [ "." ];

  ldflags = [ "-s" "-w" "-X=main.Version=${version}" ];
  ldflags = [ "-s" "-w" "-X=main.version=${version}" ];

  preCheck = ''
    # requires network