From 0d0e829cdc255da8b66bb357719c4806a22dc2ad Mon Sep 17 00:00:00 2001 From: Ariman Date: Fri, 10 Apr 2020 17:48:48 +0300 Subject: [PATCH] Upload tag builds as Github releases. --- README.md | 9 +++++---- appveyor.yml | 21 ++++++++++++++------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e514fccb..9d8d9663 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,12 @@ Project is developed under MS Visual Studio 2017. Observer modules depend on several libraries that are not supplied with sources. The easiest way to use these libraries is with [vcpkg](https://github.com/Microsoft/vcpkg) tool. -Deploy vcpkg and run: -* vcpkg install zlib:x86-windows zlib:x64-windows -* vcpkg install bzip2:x86-windows bzip2:x64-windows -* vcpkg install glib:x86-windows glib:x64-windows +For x86 version run: +* vcpkg install zlib bzip2 glib gmime libmspack --triplet x86-windows + +For x64 version run: +* vcpkg install zlib bzip2 glib gmime libmspack --triplet x64-windows Additional requirements: diff --git a/appveyor.yml b/appveyor.yml index aaee7337..6ef32122 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,17 +1,10 @@ version: 1.0.{build} -branches: - only: - - master - - master-gh - image: Visual Studio 2017 shallow_clone: true clone_depth: 1 -skip_tags: true - configuration: - Release-Far3 @@ -61,6 +54,7 @@ after_build: artifacts: - path: '*.7z' + name: distr deploy: - provider: BinTray @@ -74,3 +68,16 @@ deploy: publish: true override: true explode: false + on: + branch: master-gh + - provider: GitHub + tag: $(APPVEYOR_REPO_TAG_NAME) + release: $(PVER) + description: 'Stable Release' + auth_token: + secure: yydJ7NhXUmWzitSCv7CA8LvEW7/4KGABG11kPMhDmyGGyHAVQuOLTCOqxkI+vl1x + artifact: distr + draft: true + prerelease: false + on: + APPVEYOR_REPO_TAG: true # deploy on tag push only