build: Upload release binary on tag

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2019-07-24 12:25:15 +01:00
parent 5ae3144f5b
commit 1f6f52249e

View File

@ -12,3 +12,12 @@ script:
- cargo test
- cargo clippy --all-targets --all-features -- -D warnings
- find . -name "*.rs" | grep -v "vendor/" | xargs rustfmt --check
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file: target/release/cloud-hypervisor
skip_cleanup: true
draft: true
on:
tags: true