Unverified Commit 5c501951 authored by Dom Rodriguez's avatar Dom Rodriguez
Browse files

buildstream: 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 1bc456f4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
  lib,
  python3Packages,
  fetchFromGitHub,
  nix-update-script,
  gitUpdater,

  # buildInputs
  buildbox,
@@ -119,7 +119,9 @@ python3Packages.buildPythonApplication (finalAttrs: {

  versionCheckProgram = "${placeholder "out"}/bin/bst";

  passthru.updateScript = nix-update-script { };
  passthru.updateScript = gitUpdater {
    ignoredVersions = "dev";
  };

  meta = {
    description = "Powerful software integration tool";