Clean before release in linux build
This commit is contained in:
@@ -11,12 +11,15 @@ if [ ! -d "$SRC_DIR" ]; then
|
||||
fi
|
||||
cd "$SRC_DIR"
|
||||
echo "Building release for linux-x64..."
|
||||
dotnet clean -c Release
|
||||
dotnet publish -c Release -r linux-x64 -p:StripSymbols=False -p:PublishAot=False
|
||||
echo "Zipping up linux-x64..."
|
||||
cd bin/Release/net10.0/linux-x64/publish
|
||||
zip -r "../../../../MayShow $VERSION linux-x64.zip" .
|
||||
cd ../../../../../
|
||||
# -----
|
||||
echo "Building release for linux-arm64..."
|
||||
dotnet clean -c Release
|
||||
dotnet publish -c Release -r linux-arm64 -p:StripSymbols=False -p:PublishAot=False
|
||||
cd bin/Release/net10.0/linux-arm64/publish
|
||||
zip -r "../../../../MayShow $VERSION linux-arm64.zip" .
|
||||
|
||||
Reference in New Issue
Block a user