1
0
mirror of synced 2025-01-21 01:58:52 +01:00
OpenParrot/appveyor.yml

40 lines
1.1 KiB
YAML
Raw Normal View History

2019-03-31 15:12:57 +03:00
version: 1.0.0.{build}
2019-03-31 00:23:16 +02:00
image: Visual Studio 2017
configuration: Release
# Do not build on tags (GitHub only)
skip_tags: true
2019-03-31 00:23:16 +02:00
platform:
- x64
- Win32
2019-03-31 15:12:57 +03:00
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
2019-03-31 00:23:16 +02:00
before_build:
- cmd: premake5.exe vs2017
- ps: >-
Get-Content .\OpenParrot\src\OpenParrot.rc | ForEach-Object { $_ -replace "1.0.0.0", $env:appveyor_build_version } | Set-Content .\OpenParrot\src\OpenParrot2.rc
del .\OpenParrot\src\OpenParrot.rc
2019-04-20 23:43:31 +12:00
mv .\OpenParrot\src\OpenParrot2.rc .\OpenParrot\src\OpenParrot.rc
2019-03-31 00:23:16 +02:00
build:
project: OpenParrot.sln
verbosity: minimal
artifacts:
- path: build\bin\release\output\
2019-03-31 00:45:52 +02:00
name: OpenParrot$(platform)
deploy:
- provider: GitHub
2019-03-31 02:01:06 +02:00
release: OpenParrot$(platform)_$(APPVEYOR_BUILD_VERSION)
2019-04-02 01:03:24 +03:00
tag: OpenParrot$(platform)
2019-04-01 01:13:13 +03:00
description: $(APPVEYOR_REPO_COMMIT_MESSAGE)
2019-03-31 00:45:52 +02:00
auth_token:
secure: a2B+6mDTHuBa0fw8nm739eGJIZBcZp0IenhKvvXvreLR6ZUoHg9pflMP8ahNUK6o
repository: teknogods/OpenParrot
2019-04-05 05:31:45 +03:00
artifact: build\bin\release\OpenParrot$(platform).zip
force_update: true