Unverified Commit 2694e87a authored by kiria-moe's avatar kiria-moe
Browse files

trojan-go: chore

Set the version and commit id.
parent 3ade643f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -19,6 +19,11 @@ buildGoModule rec {

  vendorHash = "sha256-c6H/8/dmCWasFKVR15U/kty4AzQAqmiL/VLKrPtH+s4=";

  ldflags = [
    "-X github.com/p4gefau1t/trojan-go/constant.Version=v${version}"
    "-X github.com/p4gefau1t/trojan-go/constant.Commit=v${version}"
  ];

  tags = [
    "api"
    "client"