Track published package artifacts

This commit is contained in:
2026-05-14 10:32:16 +03:00
parent 6904ea90dd
commit 3f7ec3f525
7 changed files with 25 additions and 23 deletions
+1 -5
View File
@@ -1,11 +1,7 @@
/.idea/
/vendor/
packages/
build-logs/
*.ipk
*.apk
build-ipk.sh
build-apk.sh
packages/24.10/x86_64/*.ipk
.codex
/*.json
/*.srs
+1 -1
View File
@@ -1 +1 @@
1.13.11-extended-2.1.0-dirty
1.13.11-extended-2.1.0
+10 -7
View File
@@ -91,13 +91,16 @@ build_binary() {
fi
echo "=== Building sing-box for GOARCH=$goarch ===" | tee -a "$LOG_FILE"
run "${env_cmd[@]}" "$GO_BIN" build \
-buildvcs=false \
-trimpath \
-tags "$tags" \
-ldflags "$ldflags" \
-o "$output" \
./cmd/sing-box
(
cd "$PROJECT_DIR"
run "${env_cmd[@]}" "$GO_BIN" build \
-buildvcs=false \
-trimpath \
-tags "$tags" \
-ldflags "$ldflags" \
-o "$output" \
./cmd/sing-box
)
}
stage_common_tree() {
+13 -10
View File
@@ -89,13 +89,16 @@ build_binary() {
fi
echo "=== Building sing-box for GOARCH=$goarch ===" | tee -a "$LOG_FILE"
run "${env_cmd[@]}" "$GO_BIN" build \
-buildvcs=false \
-trimpath \
-tags "$tags" \
-ldflags "$ldflags" \
-o "$output" \
./cmd/sing-box
(
cd "$PROJECT_DIR"
run "${env_cmd[@]}" "$GO_BIN" build \
-buildvcs=false \
-trimpath \
-tags "$tags" \
-ldflags "$ldflags" \
-o "$output" \
./cmd/sing-box
)
}
stage_common_tree() {
@@ -208,7 +211,7 @@ set -- "${args[@]}"
require_tools
reset_go_cache_if_needed
case "${1:-all}" in
case "${1:-arm64}" in
arm64)
build_arm64
;;
@@ -222,9 +225,9 @@ case "${1:-all}" in
;;
*)
echo "Usage: $0 [arm64|x86|all] [--force|-f]"
echo " all - build IPK packages for arm64 and x86_64 (default)"
echo " arm64 - build IPK package for arm64"
echo " arm64 - build IPK package for arm64 (default)"
echo " x86 - build IPK package for x86_64"
echo " all - build IPK packages for arm64 and x86_64"
echo ""
echo " --force|-f Rebuild with a clean Go cache"
exit 1
Binary file not shown.
Binary file not shown.