appveyor: add deploy config (for #19)

This commit is contained in:
Martin Lindhe 2016-09-10 00:06:43 +02:00
parent 29beaa6c3b
commit 3169966989
1 changed files with 12 additions and 0 deletions

View File

@ -21,3 +21,15 @@ install:
build_script:
- govendor build -v +local
- govendor test -v +local
deploy:
release: wmi_exporter-v$(appveyor_build_version)
description: 'WMI exporter for prometheus'
provider: GitHub
auth_token:
secure: CrXWeTf7qONUOEki5olFfGEUPMLDeHj61koDXV3OVEaLgtACmnVHsKUub9POflda # encrypted token from GitHub
draft: false
prerelease: false
on:
branch: master # release from master branch only
appveyor_repo_tag: true # deploy on tag push only