There was an error while loading. Please reload this page.
1 parent 19f976c commit 43ae920Copy full SHA for 43ae920
1 file changed
.travis.yml
@@ -5,4 +5,16 @@ cache: pip
5
install:
6
- pip install -r requirements.txt
7
script:
8
- - python setup.py sdist
+ - python setup.py sdist
9
+
10
+before_deploy:
11
+ - export RELEASE_PKG_FILE=$(ls dist/monitor-exporter-*.tar.gz)
12
+ - echo "deploying $RELEASE_PKG_FILE to GitHub releases"
13
+deploy:
14
+ provider: releases
15
+ api_key:
16
+ secure: $GITHUB_ACCESS_TOKEN
17
+ file_glob: true
18
+ file: "${RELEASE_PKG_FILE}"
19
+ on:
20
+ tags: true
0 commit comments