auth0-cli: refactor

This commit is contained in:
Fabian Affolter 2024-04-05 23:54:52 +02:00 committed by Jess Bodzo
parent 042a17e5fe
commit 3744104cb6
No known key found for this signature in database
GPG Key ID: 7EA7DDF0F9308088
1 changed files with 5 additions and 4 deletions

View File

@ -10,16 +10,17 @@ buildGoModule rec {
src = fetchFromGitHub {
owner = "auth0";
repo = "auth0-cli";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-j7HT57/4rrrVkx9Zz+XuWD6UL0spdej+U5gWtFo1FSI=";
};
vendorHash = "sha256-bWAneCRsQbPRxEM/3jr1/Lov6NV67MRycOgrlj3bKF8=";
ldflags = [
"-s" "-w"
"-X github.com/auth0/auth0-cli/internal/buildinfo.Version=v${version}"
"-X github.com/auth0/auth0-cli/internal/buildinfo.Revision=0000000"
"-s"
"-w"
"-X=github.com/auth0/auth0-cli/internal/buildinfo.Version=v${version}"
"-X=github.com/auth0/auth0-cli/internal/buildinfo.Revision=0000000"
];
preCheck = ''