From c47adcdca23cb8052e78a1ec1c724827b418cb6c Mon Sep 17 00:00:00 2001 From: tuntoja Date: Mon, 14 Oct 2024 18:41:00 +0200 Subject: [PATCH] fix(promote): fix promote behavior to handle new debian package naming --- .github/actions/promote-to-stable/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/promote-to-stable/action.yml b/.github/actions/promote-to-stable/action.yml index 209f10d38..638391969 100644 --- a/.github/actions/promote-to-stable/action.yml +++ b/.github/actions/promote-to-stable/action.yml @@ -95,7 +95,7 @@ runs: jf rt download $ARTIFACT --flat 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) echo "[DEBUG] - Promoting (upload) $ARTIFACT_DL to stable $TARGET_PATH." jf rt upload "$ARTIFACT_DL" "$TARGET_PATH" --deb "${{ inputs.distrib }}/main/$ARCH"