From 3dd0422ef52c12565a47b4dc0fc8dd2a90feb99e Mon Sep 17 00:00:00 2001 From: Azeem Sajid Date: Thu, 19 Dec 2024 10:53:02 +0500 Subject: [PATCH] Fix uploading of release artifacts [skip ci] --- scripts/ci-upload-release-artifacts.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/ci-upload-release-artifacts.sh b/scripts/ci-upload-release-artifacts.sh index 68aa8b6f..f9231eb2 100755 --- a/scripts/ci-upload-release-artifacts.sh +++ b/scripts/ci-upload-release-artifacts.sh @@ -9,7 +9,10 @@ if [ "$TAG" = "" ] || [ "$ARTIFACT_DIR" = "" ]; then exit 1 fi -for ARTIFACT in "$ARTIFACT_DIR"/zsv-$TAG-; do +echo "[INF] Listing release artifacts" +ls -hl "$ARTIFACT_DIR/zsv-$TAG-"* + +for ARTIFACT in "$ARTIFACT_DIR/zsv-$TAG-"*; do if [ -f "$ARTIFACT" ]; then echo "[INF] Uploading artifact... [$ARTIFACT]" gh release upload "$GITHUB_REF_NAME" "$ARTIFACT"