From 84f969e7f14b819d5f54f1fd4914ac39e6c0d21c Mon Sep 17 00:00:00 2001 From: Juha Kukkonen Date: Sat, 24 Sep 2022 18:58:41 +0300 Subject: [PATCH] Fix draft release changes for utoipa --- .github/actions/gitlog/gitlog.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/actions/gitlog/gitlog.sh b/.github/actions/gitlog/gitlog.sh index 3c79cd5c..c8a06e18 100755 --- a/.github/actions/gitlog/gitlog.sh +++ b/.github/actions/gitlog/gitlog.sh @@ -56,10 +56,7 @@ function is_crate_related { changes="$(git diff --name-only "$commit"~ "$commit" | awk -F / '{print $1}' | xargs)" is_related=false - if [[ "$crate" != "utoipa" ]] && [[ "$changes" == *"$crate"* ]]; then - is_related=true - fi - if [[ "$crate" == "utoipa" ]] && [[ $changes =~ (src|tests|Cargo.toml|README.md) ]]; then + if [[ "$changes" == *"$crate"* ]]; then is_related=true fi