We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b03eb6 commit a06cc9cCopy full SHA for a06cc9c
1 file changed
dev/prepare-release.sh
@@ -36,8 +36,11 @@ CURRENT_GID=$(id -g)
36
# =============================================================================
37
echo -e "\n${BLUE}[1/4] Building static binary...${NC}"
38
39
-# Clean build artifacts
40
-rm -rf CMakeCache.txt CMakeFiles cmake_install.cmake Makefile alp-build
+# Clean build artifacts (alp-build may be root-owned from a previous Docker run)
+if [ -d alp-build ]; then
41
+ docker run --rm -v "$PWD":/src alpine:3.20 rm -rf /src/alp-build
42
+fi
43
+rm -f CMakeCache.txt cmake_install.cmake Makefile
44
45
# Run docker with user mapping to avoid permission issues
46
docker run --rm \
0 commit comments