chore(olcrtc): Add go mod tidy to build scripts

This commit is contained in:
zarazaex59
2026-04-07 00:30:53 +03:00
parent 06784ae999
commit 47e1f0a2fa
2 changed files with 2 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ podman run --rm \
-v $WORK_DIR:/app:Z \
-w /app \
$IMAGE_NAME \
sh -c "apk add --no-cache git && go build -o olcrtc cmd/olcrtc/main.go"
sh -c "apk add --no-cache git && go mod tidy && go build -o olcrtc cmd/olcrtc/main.go"
if [ ! -f "$WORK_DIR/olcrtc" ]; then
echo "[X] Build failed"

View File

@@ -61,7 +61,7 @@ podman run --rm \
-v $WORK_DIR:/app:Z \
-w /app \
$IMAGE_NAME \
sh -c "apk add --no-cache git && go build -o olcrtc cmd/olcrtc/main.go"
sh -c "apk add --no-cache git && go mod tidy && go build -o olcrtc cmd/olcrtc/main.go"
if [ ! -f "$WORK_DIR/olcrtc" ]; then
echo "[X] Build failed"