mirror of
https://github.com/Ellpeck/TinyLifeExampleMod.git
synced 2024-11-26 05:28:34 +01:00
actually make publish scripts create zip files on all platforms
This commit is contained in:
parent
4af436681d
commit
4a45ad5206
2 changed files with 2 additions and 2 deletions
|
@ -7,5 +7,5 @@ rem zip the mod
|
||||||
cd ./bin/Debug/net5.0
|
cd ./bin/Debug/net5.0
|
||||||
for /F %%p in ('dir /b "*.dll"') do (set file=%%p)
|
for /F %%p in ('dir /b "*.dll"') do (set file=%%p)
|
||||||
set dest=%file:~0,-4%.zip
|
set dest=%file:~0,-4%.zip
|
||||||
tar -cf ../%dest% --exclude ref --exclude *.pdb --exclude *.deps.json *
|
tar -acf ../%dest% --exclude ref --exclude *.pdb --exclude *.deps.json *
|
||||||
echo Published to bin/Debug/%dest%
|
echo Published to bin/Debug/%dest%
|
|
@ -7,5 +7,5 @@ dotnet build
|
||||||
cd ./bin/Debug/net5.0
|
cd ./bin/Debug/net5.0
|
||||||
file=$(find *.dll -printf %f)
|
file=$(find *.dll -printf %f)
|
||||||
dest=${file::-4}.zip
|
dest=${file::-4}.zip
|
||||||
tar -cf ../$dest --exclude ref --exclude *.pdb --exclude *.deps.json *
|
zip -r ../$dest * --exclude ref --exclude *.pdb --exclude *.deps.json
|
||||||
echo Published to bin/Debug/$dest
|
echo Published to bin/Debug/$dest
|
Loading…
Reference in a new issue