Unverified Commit ac668b97 authored by Raghav Sood's avatar Raghav Sood
Browse files

flyctl: remove passthru updateScript

parent 78d46ba1
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub, testers, flyctl, installShellFiles, gitUpdater }:
{ lib, buildGoModule, fetchFromGitHub, testers, flyctl, installShellFiles }:

buildGoModule rec {
  pname = "flyctl";
@@ -53,14 +53,6 @@ buildGoModule rec {
    ln -s $out/bin/flyctl $out/bin/fly
  '';

  # Upstream tags every PR merged with release tags like
  # v2024.5.20-pr3545.4. We ignore all revisions containing a '-'
  # to skip these releases.
  passthru.updateScript = gitUpdater {
    rev-prefix = "v";
    ignoredVersions = "-";
  };

  passthru.tests.version = testers.testVersion {
    package = flyctl;
    command = "HOME=$(mktemp -d) flyctl version";