This commit is contained in:
Zakaria Guennoune 2022-04-14 11:48:05 +02:00
parent cbfaf87d67
commit 811a9f36ad

View File

@ -1,10 +1,11 @@
#!/bin/bash #!/bin/bash
set -ex
VERSION="$3" VERSION="$3"
BULLSEYEPACKAGES=`echo *.deb` BULLSEYEPACKAGES=`echo *.deb`
for i in $BULLSEYEPACKAGES for i in $BULLSEYEPACKAGES
do do
echo "Sending $i\n" echo "Sending $i"
curl -u \"$1:$2\" -H "Content-Type: multipart/form-data" --data-binary \"@/$i\" "https://apt.centreon.com/repository/$VERSION" curl -u \"$1:$2\" -H "Content-Type: multipart/form-data" --data-binary \"@/$i\" "https://apt.centreon.com/repository/$VERSION"
done done