Skip to content

Commit

Permalink
👷 Fix the rebuild recipe script (#900)
Browse files Browse the repository at this point in the history
For some reason the git diff command was no longer returning a list, refs:
#898 (comment)
  • Loading branch information
AndreMiras committed Mar 16, 2024
1 parent 3d94a16 commit b515a04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .ci/rebuild_updated_recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ def modified_recipes(branch="origin/master"):
# with a bunch of fixes, e.g. disabled TTY, see:
# https://stackoverflow.com/a/20128598/185510
sh.contrib.git.fetch("origin", "master")
git_diff = sh.contrib.git.diff("--name-only", "--diff-filter=d", branch)
git_diff = sh.contrib.git.diff("--name-only", "--diff-filter=d", branch).split("\n")
recipes = set()
for file_path in git_diff:
if fnmatch(file_path, "kivy_ios/recipes/*/__init__.py\n"):
if fnmatch(file_path, "kivy_ios/recipes/*/__init__.py"):
recipe = file_path.split("/")[2]
recipes.add(recipe)
return recipes
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
![PyPI - Version](https://img.shields.io/pypi/v/kivy-ios)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/kivy-ios)

[![kivy-ios](https://github.com/kivy/kivy-ios/workflows/kivy-ios/badge.svg)](https://github.com/kivy/kivy-ios/actions?query=workflow%3Akivy-ios)
[![kivy-ios](https://github.com/kivy/kivy-ios/actions/workflows/kivy_ios.yml/badge.svg)](https://github.com/kivy/kivy-ios/actions/workflows/kivy_ios.yml)

Kivy for iOS (kivy-ios) is a toolchain to compile the necessary libraries for
[iOS](https://www.apple.com/ios/) to run [Kivy](https://kivy.org) applications,
Expand Down

0 comments on commit b515a04

Please sign in to comment.