debian-packages/script/local_build.sh
leafee98 82734470d2
All checks were successful
ci/woodpecker/push/build Pipeline was successful
refactor package directory, enhance build script
- update makedeb
- use bin, git, normal, leafee98 to classify packages
- only build package from leafee98 and bin in ci
- add script to build all packages locally
- add more log about running hook in build.sh
2023-08-18 17:28:14 +08:00

25 lines
699 B
Bash
Executable file

#!/usr/bin/env bash
WEBDAV_UPLOAD_TARGET=https://dufs.leafee98.com/apt/income
APT_BASE=https://dufs.leafee98.com/apt
./script/build.sh \
--makedeb-path makedeb/makedeb \
--package-exists-hook "
$(realpath ./script/package_exists.py)
--filename {}
--cache-file /tmp/apt-file-exists-cache.json
--package-arch amd64
--apt-base $APT_BASE \
"\
--package-dir packages/bin \
--package-dir packages/leafee98 \
--package-dir packages/git \
--package-dir packages/normal \
-- \
-f
# --upload-to-webdav "$WEBDAV_UPLOAD_TARGET" \
# --webdav-user "$WEBDAV_USER" \
# --webdav-pass "$WEBDAV_PASS" \