Skip to content

Commit

Permalink
Properly detect that a release is needed
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <[email protected]>
  • Loading branch information
tsmock committed Jan 28, 2025
1 parent 3be1907 commit ff7eff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
last_tag=$(git describe --tags --abbrev=0 --always)
release_needed="false"
for file in $(git diff ${last_tag}..HEAD --name-only); do
if [[ $file = "src/main"* ]] || [[ $file = "" ]]; then
if [[ $file = "src/main/"* ]] || [[ $file = "data/"* ]] || [[ $file = "lib/"* ]]; then
release_needed="true"
break
fi
Expand Down

0 comments on commit ff7eff3

Please sign in to comment.