shellhub-agent: replace gitUpdater with nix-update-script
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
b01691173e
commit
600ea898ec
1 changed files with 2 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, gitUpdater
|
, nix-update-script
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, openssh
|
, openssh
|
||||||
, libxcrypt
|
, libxcrypt
|
||||||
|
@ -27,10 +27,7 @@ buildGoModule rec {
|
||||||
ldflags = [ "-s" "-w" "-X main.AgentVersion=v${version}" ];
|
ldflags = [ "-s" "-w" "-X main.AgentVersion=v${version}" ];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gitUpdater {
|
updateScript = nix-update-script { };
|
||||||
rev-prefix = "v";
|
|
||||||
ignoredVersions = ".(rc|beta).*";
|
|
||||||
};
|
|
||||||
|
|
||||||
tests.version = testers.testVersion {
|
tests.version = testers.testVersion {
|
||||||
package = shellhub-agent;
|
package = shellhub-agent;
|
||||||
|
|
Loading…
Reference in a new issue