Merge pull request #218128 from r-ryantm/auto-update/phlare
phlare: 0.3.0 -> 0.5.1
This commit is contained in:
commit
4ef8ffa6c1
1 changed files with 4 additions and 4 deletions
|
@ -2,23 +2,23 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "phlare";
|
||||
version = "0.3.0";
|
||||
version = "0.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "grafana";
|
||||
repo = "phlare";
|
||||
sha256 = "sha256-z1PT5chkpHQJPziY7bGf6W1X5uezL6E2GUV6w/NlyFk=";
|
||||
sha256 = "sha256-q7y3sZMI1Kk7Ar0ER8RoU1Y7xAhFh89y/mzESjLrxcM=";
|
||||
};
|
||||
|
||||
proxyVendor = true;
|
||||
vendorSha256 = "sha256-KJbh+M9jYxUW9akVBHZoB/mtOHWpMPtlwIgC9fu+NYY=";
|
||||
vendorHash = "sha256-Oz1qV+3sB0pOWGEMtp7mgMR9Ljd0rd9oa6NJO2azTJg=";
|
||||
|
||||
ldflags = let
|
||||
prefix = "github.com/grafana/phlare/pkg/util/build";
|
||||
in [
|
||||
"-s" "-w"
|
||||
# https://github.com/grafana/phlare/blob/v0.3.0/Makefile#L32
|
||||
# https://github.com/grafana/phlare/blob/v0.5.1/Makefile#L32
|
||||
"-X ${prefix}.Version=${version}"
|
||||
"-X ${prefix}.Branch=v${version}"
|
||||
"-X ${prefix}.Revision=v${version}"
|
||||
|
|
Loading…
Reference in a new issue