fix(promote): fix promote behavior to handle new debian package naming

This commit is contained in:
tuntoja 2024-10-14 18:41:00 +02:00
parent 2255238bd1
commit c47adcdca2
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ runs:
jf rt download $ARTIFACT --flat jf rt download $ARTIFACT --flat
done done
for ARTIFACT_DL in $(dir -1|grep -E ".+${{ inputs.distrib }}.+\.deb"); do for ARTIFACT_DL in $(dir -1|grep -E ".+{{ steps.parse-distrib.outputs.package_distrib_name }}.+\.deb"); do
ARCH=$(echo $ARTIFACT_DL | cut -d '_' -f3 | cut -d '.' -f1) ARCH=$(echo $ARTIFACT_DL | cut -d '_' -f3 | cut -d '.' -f1)
echo "[DEBUG] - Promoting (upload) $ARTIFACT_DL to stable $TARGET_PATH." echo "[DEBUG] - Promoting (upload) $ARTIFACT_DL to stable $TARGET_PATH."
jf rt upload "$ARTIFACT_DL" "$TARGET_PATH" --deb "${{ inputs.distrib }}/main/$ARCH" jf rt upload "$ARTIFACT_DL" "$TARGET_PATH" --deb "${{ inputs.distrib }}/main/$ARCH"