faas-cli: 0.14.2 -> 0.14.3

This commit is contained in:
techknowlogick 2022-03-09 23:37:24 -05:00
parent a8110b9347
commit 4fc42a2f49

View file

@ -9,15 +9,13 @@ let
in in
buildGoModule rec { buildGoModule rec {
pname = "faas-cli"; pname = "faas-cli";
# When updating version change rev. version = "0.14.3";
version = "0.14.2";
rev = "b1c09c0243f69990b6c81a17d7337f0fd23e7542";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "openfaas"; owner = "openfaas";
repo = "faas-cli"; repo = "faas-cli";
rev = version; rev = version;
sha256 = "sha256-OdFd4q5IHu4FjNArcqVt4dNyLWegR4GdAyyCzgNIU+Q="; sha256 = "sha256-1aflQXfW/y31Dk0OZW77qNQKEwkhi6p8ZBfTUyRDbdo=";
}; };
CGO_ENABLED = 0; CGO_ENABLED = 0;
@ -28,7 +26,7 @@ buildGoModule rec {
ldflags = [ ldflags = [
"-s" "-w" "-s" "-w"
"-X github.com/openfaas/faas-cli/version.GitCommit=${rev}" "-X github.com/openfaas/faas-cli/version.GitCommit=ref/tags/${version}"
"-X github.com/openfaas/faas-cli/version.Version=${version}" "-X github.com/openfaas/faas-cli/version.Version=${version}"
"-X github.com/openfaas/faas-cli/commands.Platform=${faasPlatform stdenv.targetPlatform}" "-X github.com/openfaas/faas-cli/commands.Platform=${faasPlatform stdenv.targetPlatform}"
]; ];