ajshdaksdhakjsdh
This commit is contained in:
@@ -710,7 +710,12 @@ bump-here *packages:
|
||||
for package in "${package_aliases[@]}"; do
|
||||
if nix eval {{NIX_EVAL_OPTS}} --file default.nix "$package".passthru.updateScript >&/dev/null; then
|
||||
HEAD=$($GIT rev-parse HEAD)
|
||||
"${config2[@]}" nix-update "$package" --use-update-script --update-script-args "--argstr skip-prompt true" --commit || true
|
||||
if ! "${config2[@]}" nix-update "$package" --use-update-script --update-script-args "--argstr skip-prompt true" --commit ; then
|
||||
# failed -> drop and move on
|
||||
git restore .
|
||||
continue
|
||||
fi
|
||||
# success, but no commit
|
||||
if [[ $($GIT rev-parse HEAD) = "$HEAD" ]]; then
|
||||
echo "no commit found, trying without the updateScript..."
|
||||
$GIT restore .
|
||||
|
||||
Reference in New Issue
Block a user