From 45a1b41fa10169b260c9e9afa4fbafb7c2d96dd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Breu=C3=9F?= Date: Sat, 30 Mar 2024 08:23:08 +0100 Subject: [PATCH] Remove both codacy and sonarcloud badges from release README, as they are not aligned to the release version --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c7b9ebd3..71c58d0e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -320,8 +320,9 @@ jobs: do echo "Processing $f" # always double quote "$f" filename # do something on $f - # Remove the codacy badge as it is not aligned to the release - grep -v "Codacy Badge" "./$f" > "./$f.backup" && mv "./$f.backup" "./$f" + # Remove the codacy and sonarcloud badge as it is not aligned to the release + grep -v "app.codacy.com" "./$f" > "./$f.backup" && mv "./$f.backup" "./$f" + grep -v "sonarcloud.io" "./$f" > "./$f.backup" && mv "./$f.backup" "./$f" # Change status badges to display explicit version sed -i -e "s/branch=main/branch=release%2F${version}/g" "./$f" sed -i -e "s/Testably.Abstractions%2Fmain/Testably.Abstractions%2Frelease%2F${version}/g" "./$f"