Updated build script
This commit is contained in:
6
build.sh
6
build.sh
@@ -15,3 +15,9 @@ cp -r etc ${name}_${version}_all/;
|
||||
cp -r usr ${name}_${version}_all/;
|
||||
|
||||
dpkg-deb --build --root-owner-group ${name}_${version}_all
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
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"
|
||||
Reference in New Issue
Block a user