File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
.github/actions/promote-to-stable Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ runs:
106106 fi
107107
108108 # Upload previously downloaded candidates to TARGET_PATH
109- for ARTIFACT_DL in $(ls | grep " .rpm" || true ); do
109+ for ARTIFACT_DL in $(find . -maxdepth 1 -type f -name '* .rpm' -printf '%f\n' ); do
110110 echo "[DEBUG] - Promoting (upload) $ARTIFACT_DL to stable $TARGET_PATH."
111111 jf rt upload "$ARTIFACT_DL" "$TARGET_PATH" --flat $DRY_RUN_FLAG
112112 done
@@ -189,7 +189,7 @@ runs:
189189 DRY_RUN_FLAG=""
190190 fi
191191
192- for ARTIFACT_DL in $(ls | grep " .deb" || true ); do
192+ for ARTIFACT_DL in $(find . -maxdepth 1 -type f -name '* .deb' -printf '%f\n' ); do
193193 ARCH=$(echo $ARTIFACT_DL | cut -d '_' -f3 | cut -d '.' -f1)
194194 if [[ "${{ inputs.major_version }}" < "25.05" ]]; then
195195 POOL_SUBPATH="${{ inputs.module_name }}"
You can’t perform that action at this time.
0 commit comments