diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 431337267..22d068698 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -880,7 +880,8 @@ stages: git config --global user.name "Servarr" git checkout -b api-docs git add . - if git status | grep -q modified + git status + if git status | grep modified then git commit -am 'Automated API Docs update' git push -f --set-upstream origin api-docs diff --git a/docs.sh b/docs.sh index 52b5b7a1d..553071ab8 100644 --- a/docs.sh +++ b/docs.sh @@ -27,7 +27,7 @@ dotnet clean $slnFile -c Release dotnet msbuild -restore $slnFile -p:Configuration=Debug -p:Platform=$platform -p:RuntimeIdentifiers=$RUNTIME -t:PublishAllRids dotnet new tool-manifest -dotnet tool install --version 6.2.3 Swashbuckle.AspNetCore.Cli +dotnet tool install --version 6.3.0 Swashbuckle.AspNetCore.Cli dotnet tool run swagger tofile --output ./src/Radarr.Api.V3/openapi.json "$outputFolder/net6.0/$RUNTIME/radarr.console.dll" v3 & diff --git a/src/NzbDrone.Host/Radarr.Host.csproj b/src/NzbDrone.Host/Radarr.Host.csproj index f8153afbd..5f79e22d5 100644 --- a/src/NzbDrone.Host/Radarr.Host.csproj +++ b/src/NzbDrone.Host/Radarr.Host.csproj @@ -6,7 +6,7 @@ - +