File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
topo_map_processor/bash_scripts Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -81,10 +81,6 @@ for release in $RELEASES_TO_PROCESS; do
8181 fi
8282done
8383
84- if [ -z " $EXISTING_ASSETS_WITH_RELEASES " ]; then
85- echo " Could not fetch any assets. This could mean the releases do not have assets, or you lack permissions."
86- fi
87-
8884# Determine available releases and their current asset counts
8985AVAILABLE_RELEASES=()
9086AVAILABLE_ASSET_COUNTS=()
@@ -107,8 +103,11 @@ echo "Starting upload process from folder '$FOLDER'..."
107103# Find all files in the folder that are not yet in any release and loop through them.
108104find " ${FOLDER} " -type f | grep " ^.*\.${EXT} $" | while read -r FILE_PATH; do
109105 FILENAME=$( basename " $FILE_PATH " )
106+ echo " Processing file: $FILENAME "
110107
108+ set +o pipefail
111109 RELEASE_FOR_ASSET=$( echo -n " $EXISTING_ASSETS_WITH_RELEASES " | grep " ^${FILENAME} " | head -n 1 | awk ' {print $2}' )
110+ set -o pipefail
112111
113112 if [ -n " $RELEASE_FOR_ASSET " ]; then
114113 # Asset exists
You can’t perform that action at this time.
0 commit comments