1
0
mirror of synced 2025-01-20 09:42:49 +01:00
OpenParrot/appveyor.yml

52 lines
1.6 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
2021-01-17 23:10:59 +13:00
environment:
pwe:
secure: tIA3WoMvSPVbwjUMlWSdfA==
senc:
secure: FYTNTbS57pKEMR13yExGybKLsI0YUzT7RsL/+pce4uGABr01RRglP3XN3tB4r/fmHuaW6SjJA4ZnmqK6irnmxQ==
cenc:
secure: 16yzBwIyf9D/P3WTZnqqL9iZ3kP9WQ0mL1StAbp8Kls=
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}'
2021-01-17 23:10:59 +13:00
assembly_informational_version: '{version}'
install:
- ps: iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1'))
2021-01-17 23:43:52 +13:00
- cmd: if "%pwe%" NEQ "" (appveyor-tools\secure-file -decrypt cert.enc -secret %pwe% -salt %senc%)
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
2021-01-17 23:10:59 +13:00
after_build:
2021-01-17 23:26:15 +13:00
- cmd: sign.bat
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