1
0
Fork 0

Initial commit

This commit is contained in:
Miguel Jacq 2025-10-14 17:40:53 +11:00
commit b10e7b0f5d
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
22 changed files with 1153 additions and 0 deletions

13
scripts/publish.sh Executable file
View 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