Skip to content

Commit

Permalink
fix - Final fix for NuGet push.cmd
Browse files Browse the repository at this point in the history
---

We've finally fixed push.cmd.

---

Type: fix
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Sep 3, 2024
1 parent ec0c329 commit 6e85680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ jobs:
- name: Package Publication
run: |
chmod +x tools/*.sh
cd tools ; $env:NUGET_APIKEY="${{ secrets.NUGET_APIKEY }}" ; ./push.sh ; cd ..
cd tools ; cmd.exe /C "push.cmd ${{ secrets.NUGET_APIKEY }}" ; cd ..
2 changes: 1 addition & 1 deletion tools/push.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e85680

Please sign in to comment.