Unverified Commit f8a58eb3 authored by Dom Rodriguez's avatar Dom Rodriguez
Browse files

buildstream-plugins: ignore Git tags containing `*dev*`

Tags containing `*dev*` on official BuildStream projects are for
pre-releases, and should not be included in the passthru updateScript.

This is needed after https://github.com/NixOS/nixpkgs/pull/493236 showed
a issue with the updateScript.
parent 5c501951
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  gitUpdater,
  setuptools,
  cython,
}:
@@ -29,6 +30,10 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "buildstream_plugins" ];

  passthru.updateScript = gitUpdater {
    ignoredVersions = "dev";
  };

  meta = {
    description = "BuildStream plugins";
    homepage = "https://github.com/apache/buildstream-plugins";