Debugging
This commit is contained in:
5
build.sh
5
build.sh
@@ -20,6 +20,11 @@ if [ $? -eq 0 ]; then
|
||||
RELEASE_ID=$(curl -s -H "Authorization: token REDACTED" \
|
||||
"https://git.unblue.uk/api/v1/repos/Unblue/${name}/releases/tags/v${version}" | jq '.id')
|
||||
|
||||
echo curl -X POST "https://git.unblue.uk/api/v1/repos/Unblue/${name}/releases/${RELEASE_ID}/assets" \
|
||||
-H "Authorization: token ${GIT_TOKEN}" \
|
||||
-H "Content-Type: multipart/form-data" \
|
||||
-F "attachment=@${name}_${version}_all.deb"
|
||||
|
||||
curl -X POST "https://git.unblue.uk/api/v1/repos/Unblue/${name}/releases/${RELEASE_ID}/assets" \
|
||||
-H "Authorization: token ${GIT_TOKEN}" \
|
||||
-H "Content-Type: multipart/form-data" \
|
||||
|
||||
Reference in New Issue
Block a user