Compare commits
1 Commits
4d3e0ba4cf
...
1bd6bed8d5
| Author | SHA1 | Date | |
|---|---|---|---|
| 1bd6bed8d5 |
@ -21,9 +21,7 @@ if [ -n "$images_changes" ]; then
|
|||||||
echo "Changes detected in images/. Running specific 'make' commands..."
|
echo "Changes detected in images/. Running specific 'make' commands..."
|
||||||
|
|
||||||
# Extract unique paths for `make` commands
|
# Extract unique paths for `make` commands
|
||||||
export TARGETS=$(echo "$images_changes" | sed -E 's|images/||; s|/[^/]+$||' | sort -u)
|
for target in $(echo $images_changes | sed -E 's|images/||; s|/[^/]+$||' | sort -u); do
|
||||||
echo $TARGETS
|
|
||||||
for target in $TARGETS; do
|
|
||||||
echo "Running 'make $target'..."
|
echo "Running 'make $target'..."
|
||||||
make "$target"
|
make "$target"
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user