Skip to content

Commit

Permalink
int - Fixed build scripts
Browse files Browse the repository at this point in the history
---

Type: int
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Dec 22, 2024
1 parent addb158 commit 3b2db75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tools/pack.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ if "%releaseconfig%" == "" set releaseconfig=Release

:packbin
echo Packing binary...
"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-cli.zip "..\BassBoom.Cli\bin\%releaseconfig%\net8.0\*"
"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-cli-48.zip "..\BassBoom.Cli\bin\%releaseconfig%\net48\*"
"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-cli.zip "..\private\BassBoom.Cli\bin\%releaseconfig%\net8.0\*"
"%ProgramFiles%\7-Zip\7z.exe" a -tzip %temp%/%version%-cli-48.zip "..\private\BassBoom.Cli\bin\%releaseconfig%\net48\*"
if %errorlevel% == 0 goto :complete
echo There was an error trying to pack binary (%errorlevel%).
goto :finished
Expand Down
4 changes: 2 additions & 2 deletions tools/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ checkerror $? "zip is not found"

# Pack binary
echo Packing binary...
cd "../BassBoom.Cli/bin/$releaseconf/net8.0/" && "$zippath" -r /tmp/$version-cli.zip . && cd -
cd "../private/BassBoom.Cli/bin/$releaseconf/net8.0/" && "$zippath" -r /tmp/$version-cli.zip . && cd -
checkerror $? "Failed to pack"
cd "../BassBoom.Cli/bin/$releaseconf/net48/" && "$zippath" -r /tmp/$version-cli-48.zip . && cd -
cd "../private/BassBoom.Cli/bin/$releaseconf/net48/" && "$zippath" -r /tmp/$version-cli-48.zip . && cd -
checkerror $? "Failed to pack"

# Inform success
Expand Down

0 comments on commit 3b2db75

Please sign in to comment.