upload pkgs in build-new-kernel.sh
This commit is contained in:
parent
b36bd374da
commit
0be420ceb7
1 changed files with 4 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
newver=${1}
|
||||
nbuild=${2}
|
||||
token=${3}
|
||||
newverx=${newver}.${nbuild}
|
||||
oldver=$(grep "pkgver" kernel-pkgs/PKGBUILD | head -n1)
|
||||
oldver=${oldver##*=}
|
||||
|
@ -30,6 +31,7 @@ ln -s linux-${githash}.config kernel/config-${newverx}
|
|||
|
||||
cd kernel-pkgs
|
||||
makepkg
|
||||
|
||||
curl --header "PRIVATE-TOKEN: ${token}" --upload-file linux-armv7-${newverx}-1-armv7h.pkg.tar.xz "https://git.f3l.de/api/v4/projects/149/packages/generic/linux-banana-r2/${newverx}/linux-armv7-${newverx}-1-armv7h.pkg.tar.xz"
|
||||
curl --header "PRIVATE-TOKEN: ${token}" --upload-file linux-armv7-headers-${newverx}-1-armv7h.pkg.tar.xz "https://git.f3l.de/api/v4/projects/149/packages/generic/linux-banana-r2/${newverx}/linux-armv7-headers-${newverx}-1-armv7h.pkg.tar.xz"
|
||||
cd -
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue