Skip to content

Commit

Permalink
Pull in latest version of run-script-framework
Browse files Browse the repository at this point in the history
  • Loading branch information
pronovic committed Feb 26, 2024
1 parent 8238637 commit 674504a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .run/commands/outdated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@
# See: https://github.com/python-poetry/poetry/issues/2684#issuecomment-1076560832

command_outdated() {
echo "Updating dependencies with current constraints..."
echo ""
poetry update
if [ $? != 0 ]; then
echo "*** Failed to update dependencies"
exit 1
fi

echo ""
echo "Checking for outdated constraints..."
echo ""
poetry show --outdated | grep --file=<(poetry show --tree | grep '^\w' | cut -d' ' -f1 | sed 's/.*/^&\\s/')
if [ $? != 0 ]; then
echo "*** Failed to check for outdated constraints"
Expand Down

0 comments on commit 674504a

Please sign in to comment.