mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-04-07 20:35:27 +02:00
fix(promote): fix pattern for debian promote (#5010)
This commit is contained in:
parent
b1739be53c
commit
6e71b90822
2
.github/actions/promote-to-stable/action.yml
vendored
2
.github/actions/promote-to-stable/action.yml
vendored
@ -89,7 +89,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 ".+${{ inputs.distrib }}.+\.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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user