seb-win-refactoring/appveyor-release.yml

34 lines
1.4 KiB
YAML
Raw Normal View History

version: '3.0.0.{build}'
image: Windows
platform: x86
configuration: Release
assembly_info:
patch: true
file: AssemblyInfo.*
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '3.0.0 Base'
install:
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
- set PATH=%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin;%PATH%
before_build:
- nuget restore
build_script:
- msbuild /verbosity:minimal "SafeExamBrowser.sln"
after_build:
- appveyor PushArtifact "Setup\bin\%CONFIGURATION%\Setup.msi" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_Setup.msi" -DeploymentName "SEB_%APPVEYOR_BUILD_VERSION%_Setup"
- appveyor PushArtifact "SetupBundle\bin\%CONFIGURATION%\SetupBundle.exe" -FileName "SEB_%APPVEYOR_BUILD_VERSION%_SetupBundle.exe" -DeploymentName "SEB_%APPVEYOR_BUILD_VERSION%_SetupBundle"
artifacts:
- path: SafeExamBrowser.Runtime\bin\$(platform)\$(configuration)
name: 'SEB_$(appveyor_build_version)_Application'
type: zip
- path: SebWindowsConfig\bin\$(platform)\$(configuration)
name: 'SEB_$(appveyor_build_version)_Configuration'
type: zip
- path: SafeExamBrowser.ResetUtility\bin\$(platform)\$(configuration)
name: 'SEB_$(appveyor_build_version)_Reset'
type: zip
- path: SafeExamBrowser.Service\bin\$(platform)\$(configuration)
name: 'SEB_$(appveyor_build_version)_Service'
type: zip