Unverified Commit 42d038fc authored by Herwig Hochleitner's avatar Herwig Hochleitner Committed by GitHub
Browse files

git-relevant-history: standardize version format; add updateScript (#444752)

parents feb83139 9a98cc69
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  unstableGitUpdater,
  python3,
  git,
  git-filter-repo,
@@ -8,7 +9,7 @@

python3.pkgs.buildPythonApplication {
  pname = "git-relevant-history";
  version = "2022-09-15";
  version = "1.0.0-unstable-2022-09-15";
  format = "setuptools";
  src = fetchFromGitHub {
    owner = "rainlabs-eu";
@@ -22,6 +23,8 @@ python3.pkgs.buildPythonApplication {
    python3.pkgs.docopt
  ];

  passthru.updateScript = unstableGitUpdater { tagPrefix = "v"; };

  meta = with lib; {
    description = "Extract only relevant history from git repo";
    homepage = "https://github.com/rainlabs-eu/git-relevant-history";