mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2024-12-17 08:21:44 +03:00
parent
aeb31b1d91
commit
f867437f7d
8
up.sh
8
up.sh
@ -213,7 +213,13 @@ function push() {
|
||||
}
|
||||
push || push || push
|
||||
|
||||
PR_MESSAGE="$COMMIT_MESSAGE$MAINTAINERS"
|
||||
BROKEN_WARNING=
|
||||
if [ "$(nix eval -f . '(let pkgs = import ./. {}; in pkgs.'"${ATTR_PATH}"'.meta.broken or false)')" == "true" ]
|
||||
then
|
||||
BROKEN_WARNING="- WARNING: Package has meta.broken=true; Please manually test this package update and remove the broken attribute."
|
||||
fi
|
||||
|
||||
PR_MESSAGE="$COMMIT_MESSAGE$BROKEN_WARNING$MAINTAINERS"
|
||||
|
||||
if [[ -v DRY_RUN ]]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user