This commit is contained in:
JustArchi
2017-07-01 04:29:16 +02:00
parent c50b24c31e
commit fc1493d0a3
2 changed files with 7 additions and 7 deletions

View File

@@ -29,13 +29,13 @@ script:
- dotnet restore
- dotnet build -c Release
- dotnet publish -c Release -o out/generic
- echo "generic" > "${TRAVIS_BUILD_DIR}/ASF/out/generic/ASF.version"
- echo "generic" > "ArchiSteamFarm/out/generic/ArchiSteamFarm.version"
- dotnet publish -c Release -r win-x64 -o out/win-x64
- echo "win-x64" > "${TRAVIS_BUILD_DIR}/ASF/out/win-x64/ASF.version"
- echo "win-x64" > "ArchiSteamFarm/out/win-x64/ArchiSteamFarm.version"
- dotnet publish -c Release -r linux-x64 -o out/linux-x64
- echo "linux-x64" > "${TRAVIS_BUILD_DIR}/ASF/out/linux-x64/ASF.version"
- echo "linux-x64" > "ArchiSteamFarm/out/linux-x64/ArchiSteamFarm.version"
- dotnet publish -c Release -r osx-x64 -o out/osx-x64
- echo "osx-x64" > "${TRAVIS_BUILD_DIR}/ASF/out/osx-x64/ASF.version"
- echo "osx-x64" > "ArchiSteamFarm/out/osx-x64/ArchiSteamFarm.version"
# This is our main build matrix
matrix:

View File

@@ -39,10 +39,10 @@ after_build:
dotnet publish -c "$env:CONFIGURATION" -r "$RUNTIME" -o "out\$RUNTIME"
}
Add-Content "ASF\out\$RUNTIME\ASF.version" "$RUNTIME"
Add-Content "ArchiSteamFarm\out\$RUNTIME\ArchiSteamFarm.version" "$RUNTIME"
7z a -bd -tzip -mm=Deflate64 $ZIP_ARGS "ASF\out\ASF-$RUNTIME.zip" "$env:APPVEYOR_BUILD_FOLDER\ASF\out\$RUNTIME\*"
Push-AppveyorArtifact "ASF\out\ASF-$RUNTIME.zip" -FileName "ASF-$RUNTIME.zip" -DeploymentName "ASF-$RUNTIME.zip"
7z a -bd -tzip -mm=Deflate64 $ZIP_ARGS "ArchiSteamFarm\out\ASF-$RUNTIME.zip" "$env:APPVEYOR_BUILD_FOLDER\ArchiSteamFarm\out\$RUNTIME\*"
Push-AppveyorArtifact "ArchiSteamFarm\out\ASF-$RUNTIME.zip" -FileName "ASF-$RUNTIME.zip" -DeploymentName "ASF-$RUNTIME.zip"
}
deploy:
- provider: GitHub