Skip to content

Commit

Permalink
fix(promote): fix promote behavior to handle new debian package naming
Browse files Browse the repository at this point in the history
  • Loading branch information
tuntoja committed Oct 15, 2024
1 parent 2255238 commit c47adcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/promote-to-stable/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c47adcd

Please sign in to comment.