From 5c67264127fe32dd7179d620d9eebdeb905ba43e Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Sat, 16 Mar 2024 11:45:59 +0100 Subject: [PATCH] :construction_worker: Fix the rebuild recipe script For some reason the git diff command was no longer returning a list, refs: https://github.com/kivy/kivy-ios/pull/898#issuecomment-1999531891 --- .ci/rebuild_updated_recipes.py | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/rebuild_updated_recipes.py b/.ci/rebuild_updated_recipes.py index 292f4500..7b2bb227 100644 --- a/.ci/rebuild_updated_recipes.py +++ b/.ci/rebuild_updated_recipes.py @@ -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 diff --git a/README.md b/README.md index 70d21fbb..988430c2 100644 --- a/README.md +++ b/README.md @@ -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,