auth0-cli: refactor
This commit is contained in:
parent
042a17e5fe
commit
3744104cb6
|
@ -10,16 +10,17 @@ buildGoModule rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "auth0";
|
owner = "auth0";
|
||||||
repo = "auth0-cli";
|
repo = "auth0-cli";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-j7HT57/4rrrVkx9Zz+XuWD6UL0spdej+U5gWtFo1FSI=";
|
hash = "sha256-j7HT57/4rrrVkx9Zz+XuWD6UL0spdej+U5gWtFo1FSI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-bWAneCRsQbPRxEM/3jr1/Lov6NV67MRycOgrlj3bKF8=";
|
vendorHash = "sha256-bWAneCRsQbPRxEM/3jr1/Lov6NV67MRycOgrlj3bKF8=";
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s" "-w"
|
"-s"
|
||||||
"-X github.com/auth0/auth0-cli/internal/buildinfo.Version=v${version}"
|
"-w"
|
||||||
"-X github.com/auth0/auth0-cli/internal/buildinfo.Revision=0000000"
|
"-X=github.com/auth0/auth0-cli/internal/buildinfo.Version=v${version}"
|
||||||
|
"-X=github.com/auth0/auth0-cli/internal/buildinfo.Revision=0000000"
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user