use correct maintainer

This commit is contained in:
Ryan Mulligan 2018-03-07 08:17:45 -08:00
parent 568cd76ffd
commit 8dfdcaaf38

4
up.sh
View File

@ -66,9 +66,9 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
CHECK_RESULT=$($SCRIPT_DIR/check-result.sh $RESULT $NEW_VERSION)
MAINTAINERS=
if nix eval "(let pkgs = import ./. {}; in pkgs.haproxy.meta.maintainers)" > /dev/null 2>&1
if nix eval "(let pkgs = import ./. {}; in pkgs.$PACKAGE_NAME.meta.maintainers)" > /dev/null 2>&1
then
maintainers=$(nix eval --raw '(let pkgs = import ./. {}; gh = m : m.github or ""; nonempty = s: s != ""; addat = s: "@"+s; in builtins.concatStringsSep " " (map addat (builtins.filter nonempty (map gh pkgs.haproxy.meta.maintainers))))')
maintainers=$(nix eval --raw '(let pkgs = import ./. {}; gh = m : m.github or ""; nonempty = s: s != ""; addat = s: "@"+s; in builtins.concatStringsSep " " (map addat (builtins.filter nonempty (map gh pkgs.$PACKAGE_NAME.meta.maintainers))))')
if [ -n "$maintainers" ]
then
MAINTAINERS="