Skip to content

Commit 1e62f50

Browse files
committed
ci: fixing upload path for tag id lookup in Cirrus
Fixing the upload path to be $id rather than tag/$id Signed-off-by: Tyler Erickson <[email protected]>
1 parent 2d9d126 commit 1e62f50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cirrus_ci_post_freebsd_release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if [ -f "$file_to_upload" ]; then
4747
id=$(echo "$response" | grep -m 1 "id.:" | grep -w id | tr : = | tr -cd '[[:alnum:]]=' | cut -d= -f2)
4848

4949
if [ "$id" != "" ]; then
50-
url_to_upload="https://uploads.github.com/repos/$CIRRUS_REPO_FULL_NAME/releases/tag/$id/assets?name=$name"
50+
url_to_upload="https://uploads.github.com/repos/$CIRRUS_REPO_FULL_NAME/releases/$id/assets?name=$name"
5151
else
5252
echo "Failed to get ID for uploading cirrus tag assets"
5353
fi

0 commit comments

Comments
 (0)