Skip to content

Commit

Permalink
Upload tag builds as Github releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyhamster committed Apr 10, 2020
1 parent 543f337 commit 0d0e829
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 11 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
21 changes: 14 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -61,6 +54,7 @@ after_build:
artifacts:
- path: '*.7z'
name: distr

deploy:
- provider: BinTray
Expand All @@ -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

0 comments on commit 0d0e829

Please sign in to comment.