1
0
mirror of synced 2024-11-14 23:07:36 +01:00
OpenParrot/appveyor.yml

47 lines
1.4 KiB
YAML
Raw Normal View History

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