Skip to content

Commit

Permalink
Fix draft release changes for utoipa
Browse files Browse the repository at this point in the history
  • Loading branch information
juhaku committed Sep 24, 2022
1 parent 08011dd commit 84f969e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/actions/gitlog/gitlog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 84f969e

Please sign in to comment.