From df6f83ed69baf4578e6aa77c87808c28fad5a128 Mon Sep 17 00:00:00 2001 From: Bogdan Date: Mon, 10 Jun 2024 17:40:27 +0300 Subject: [PATCH] Increase timeout for docs --- docs.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) mode change 100644 => 100755 docs.sh diff --git a/docs.sh b/docs.sh old mode 100644 new mode 100755 index 4639c0297..ccfde87a7 --- a/docs.sh +++ b/docs.sh @@ -1,3 +1,7 @@ +#!/bin/bash +set -e + +FRAMEWORK="net6.0" PLATFORM=$1 if [ "$PLATFORM" = "Windows" ]; then @@ -35,9 +39,9 @@ dotnet msbuild -restore $slnFile -p:Configuration=Debug -p:Platform=$platform -p dotnet new tool-manifest dotnet tool install --version 6.6.2 Swashbuckle.AspNetCore.Cli -dotnet tool run swagger tofile --output ./src/Prowlarr.Api.V1/openapi.json "$outputFolder/net6.0/$RUNTIME/$application" v1 & +dotnet tool run swagger tofile --output ./src/Prowlarr.Api.V1/openapi.json "$outputFolder/$FRAMEWORK/$RUNTIME/$application" v1 & -sleep 30 +sleep 45 kill %1