added util/upload-distfiles.sh
This commit is contained in:
parent
c789457faa
commit
e1ff04a597
1 changed files with 24 additions and 0 deletions
24
util/upload-distfiles.sh
Normal file
24
util/upload-distfiles.sh
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
pkgver=87.0
|
||||
private_token=$1
|
||||
if [ -z $private_token ]; then
|
||||
echo "Please specify the Gitlab PRIVATE TOKEN on the commandline."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
curl --request POST --header "PRIVATE-TOKEN: ${private_token}" --form "file=@librewolf-${pkgver}.en-US.win64-setup.exe" "https://gitlab.com/api/v4/projects/13852981/uploads"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
curl --request POST --header "PRIVATE-TOKEN: ${private_token}" --form "file=@librewolf-${pkgver}.en-US.win64.zip" "https://gitlab.com/api/v4/projects/13852981/uploads"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
curl --request POST --header "PRIVATE-TOKEN: ${private_token}" --form "file=@librewolf-${pkgver}.en-US.win64-permissive-nightly-setup.exe" "https://gitlab.com/api/v4/projects/13852981/uploads"
|
||||
echo ""
|
||||
echo ""
|
||||
|
||||
Loading…
Add table
Reference in a new issue