Initial commit
This commit is contained in:
commit
b10e7b0f5d
22 changed files with 1153 additions and 0 deletions
13
scripts/publish.sh
Executable file
13
scripts/publish.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eoux pipefail
|
||||
|
||||
OUT_DIR="${OUT_DIR:-"$(cd "$(dirname "$0")/.."; pwd)/build"}"
|
||||
|
||||
for CODENAME in trixie bookworm noble jammy; do
|
||||
# feed all .deb for that codename into the repo
|
||||
if compgen -G "${OUT_DIR}/${CODENAME}/php*/*.deb" >/dev/null 2>&1; then
|
||||
find "${OUT_DIR}/${CODENAME}" -name '*.deb' -print0 \
|
||||
| xargs -0 -n1 reprepro -b repo includedeb "$CODENAME"
|
||||
fi
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue