From 38d6f2a58233fe1d026a63ca0ea3d7dd10bd3585 Mon Sep 17 00:00:00 2001 From: SuperDooper <37051355+superdooper86@users.noreply.github.com> Date: Mon, 11 May 2026 20:41:50 +0200 Subject: [PATCH] CI: fix BETA_BADGE handling for new badge layout --- .github/workflows/release.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 33a3d8d..1fac755 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,13 +75,7 @@ jobs: content = open('README.md').read() content = re.sub(r'version-[0-9][^-]*-orange', 'version-' + v + '-orange', content) lines = content.splitlines(keepends=True) - out = [] - for line in lines: - if '' in line: - continue - out.append(line) - if 'license-MIT-blue' in line: - out.append('' + chr(10)) + out = ['' + chr(10) if '' in line else line for line in lines] open('README.md', 'w').writelines(out) "