mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-05-31 09:29:45 +00:00
chore(olcrtc): Add go mod tidy to build scripts
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user