Bug fix
This commit is contained in:
1 parent
b0001accd5
commit
3a77cb5e69
1 file changed
+1
-1
@@ -17,7 +17,7 @@ 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
|
||||||
RELEASE_ID=$(curl -s -H "Authorization: token REDACTED" \
|
RELEASE_ID=$(curl -s -H "Authorization: token ${GIT_TOKEN}" \
|
||||||
"https://git.unblue.uk/api/v1/repos/Unblue/${name}/releases/tags/v${version}" | jq '.id')
|
"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" \
|
echo curl -X POST "https://git.unblue.uk/api/v1/repos/Unblue/${name}/releases/${RELEASE_ID}/assets" \
|
||||||
|
|||||||
Reference in new issue
Block a user