Skip to content

Commit

Permalink
CI: Migrate to new artifacts upload mechnism
Browse files Browse the repository at this point in the history
  • Loading branch information
ubruhin committed Mar 21, 2024
1 parent 3c12ebf commit 27967e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/upload_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ then
BASENAME=$(echo $BRANCH_NAME | sed -e 's/[^A-Za-z0-9_-]/_/g')
tar -cjf "./$BASENAME.tbz2" ./artifacts.tar.sha256 ./artifacts.tar
# upload archive
curl --fail --basic -u "$UPLOAD_USER:$UPLOAD_PASS" -T "./$BASENAME.tbz2" "$UPLOAD_URL/$BASENAME.tbz2"
curl --fail --basic -u "$UPLOAD_USER:$UPLOAD_PASS" -F "path=@$BASENAME.tbz2" "$UPLOAD_URL"
fi

0 comments on commit 27967e1

Please sign in to comment.