1 version: 3.12.0.{build}
16 - RELEASE_TAG: 'false'
17 configuration: Release
24 - /^OpenTween.+/ # release tag
30 - RELEASE_TAG: 'false'
34 file: OpenTween\Properties\AssemblyInfo.cs
35 assembly_version: '{version}'
38 path: OpenTween_dev-$(APPVEYOR_BUILD_NUMBER).zip
46 path: $(APPVEYOR_REPO_TAG_NAME).zip
49 project: OpenTween.sln
53 - '%UserProfile%\.nuget\packages -> OpenTween\OpenTween.csproj, OpenTween.Tests\OpenTween.Tests.csproj'
56 - git config --global core.autocrlf true
60 - ps: Set-Content .\msbuild.rsp "/warnaserror /p:DebugType=None"
69 $env:PATH = $env:PATH + ';C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\Roslyn\;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\'
70 $binDir = '.\OpenTween\bin\' + $env:CONFIGURATION + '\net48\'
71 if ($env:RELEASE_TAG -eq 'true') {
72 $destPath = $env:APPVEYOR_REPO_TAG_NAME + '.zip'
74 $destPath = 'OpenTween_dev-' + $env:APPVEYOR_BUILD_NUMBER + '.zip'
76 if ($env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT -ne $null) {
77 $headCommit = $env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT
81 .\tools\build-zip-archive.ps1 -BinDir $binDir -DestPath $destPath -HeadCommit $headCommit
83 # vim: et fenc=utf-8 sts=2 sw=2 ts=2