debugging
This commit is contained in:
4
build.sh
4
build.sh
@@ -17,6 +17,10 @@ cp -r usr ${name}_${version}_all/;
|
|||||||
dpkg-deb --build --root-owner-group ${name}_${version}_all
|
dpkg-deb --build --root-owner-group ${name}_${version}_all
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
|
echo curl -X POST "https://git.unblue.uk/api/v1/repos/Unblue/${name}/releases/v${version}/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/v${version}/assets" \
|
curl -X POST "https://git.unblue.uk/api/v1/repos/Unblue/${name}/releases/v${version}/assets" \
|
||||||
-H "Authorization: token ${GIT_TOKEN}" \
|
-H "Authorization: token ${GIT_TOKEN}" \
|
||||||
-H "Content-Type: multipart/form-data" \
|
-H "Content-Type: multipart/form-data" \
|
||||||
|
|||||||
Reference in New Issue
Block a user