Skip to content

Commit

Permalink
Fix uploading of release artifacts [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
iamazeem committed Dec 19, 2024
1 parent 9e5d066 commit 3dd0422
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/ci-upload-release-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3dd0422

Please sign in to comment.