From 44f2d98b0332096b8dac6e24c02d50b80a0b098f Mon Sep 17 00:00:00 2001 From: Aptivi Date: Tue, 3 Sep 2024 15:47:54 +0300 Subject: [PATCH] fix - Final fix for NuGet push.cmd --- We've finally fixed push.cmd. --- Type: fix Breaking: False Doc Required: False Backport Required: False Part: 1/1 --- .github/workflows/release.yml | 2 +- tools/push.cmd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca95611dab..a6b35f0f54 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -104,4 +104,4 @@ jobs: - name: Package Publication run: | chmod +x tools/*.sh - cd tools ; NUGET_APIKEY=${{ secrets.NUGET_APIKEY }} ./push.sh ; cd .. + cd tools ; cmd.exe /C "push.cmd ${{ secrets.NUGET_APIKEY }}" ; cd .. diff --git a/tools/push.cmd b/tools/push.cmd index 45b5bcdf21..75ddbabff9 100644 --- a/tools/push.cmd +++ b/tools/push.cmd @@ -3,7 +3,7 @@ set apikey=%1 REM This script pushes. Use when you have VS installed. echo Pushing... -cmd /C "forfiles /s /m *.nupkg /p ..\ /C "cmd /c dotnet nuget push @path --api-key %apikey% --source "nuget.org""" +cmd /C "forfiles /s /m *.nupkg /p ..\ /C "cmd /c dotnet nuget push @path --api-key %apikey% --source nuget.org"" if %errorlevel% == 0 goto :success echo There was an error trying to push (%errorlevel%). goto :finished