Skip to content

Commit 737c025

Browse files
chore(internal): improve maven repo docs
1 parent 464fcae commit 737c025

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/upload-artifacts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@ upload_file() {
5656
# Upload file
5757
upload_response=$(curl -v -X PUT \
5858
--retry 5 \
59+
--retry-all-errors \
5960
-D "$tmp_headers" \
6061
-H "Content-Type: $content_type" \
6162
--data-binary "@${file_name}" "$signed_url" 2>&1)
6263

6364
if ! echo "$upload_response" | grep -q "HTTP/[0-9.]* 200"; then
64-
log_error "Failed upload artifact file" "$tmp_headers" "$upload_response"
65+
log_error "Failed to upload artifact file" "$tmp_headers" "$upload_response"
6566
fi
6667

6768
# Insert small throttle to reduce rate limiting risk
@@ -110,6 +111,10 @@ generate_instructions() {
110111
url 'https://pkg.stainless.com/s/${PROJECT}/${SHA}/mvn'
111112
}
112113
}</pre>
114+
115+
<p>Once you've added the repository, you can include dependencies from it as usual. See your
116+
<a href="${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/blob/${GITHUB_SHA}/README.md">project README</a>
117+
for more details.</p>
113118
</body>
114119
</html>
115120
EOF

0 commit comments

Comments
 (0)