Skip to content

Commit

Permalink
Change updated recipes script
Browse files Browse the repository at this point in the history
  • Loading branch information
misl6 committed Dec 17, 2023
1 parent 76461b2 commit 63db828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/rebuild_updated_recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
from constants import CORE_RECIPES, BROKEN_RECIPES


def modified_recipes(branch="origin/master"):
def modified_recipes(branch="master"):
"""
Returns a set of modified recipes between the current branch and the one
in param.
"""
# using the contrib version on purpose rather than sh.git, since it comes
# with a bunch of fixes, e.g. disabled TTY, see:
# https://stackoverflow.com/a/20128598/185510
sh.contrib.git.fetch("origin", "master")
# sh.contrib.git.fetch("origin", "master")
git_diff = sh.contrib.git.diff("--name-only", "--diff-filter=d", branch)
recipes = set()
for file_path in git_diff:
Expand Down

0 comments on commit 63db828

Please sign in to comment.