Skip to content

Commit

Permalink
Upload a separate dashboards archive on releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnenauha committed Oct 22, 2017
1 parent 4133f3a commit 63e101f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ deploy:
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.darwin-386.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.windows-amd64.tar.gz"
- "bin/release/prometheus_varnish_exporter-$TRAVIS_TAG.windows-386.tar.gz"
- "bin/release/dashboards-$TRAVIS_TAG.tar.gz"
skip_cleanup: true
on:
repo: jonnenauha/prometheus_varnish_exporter
Expand Down
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ if [ -z "$VERSION" ]; then
exit 1
fi

tar -cvzf ./bin/release/dashboards-$VERSION.tar.gz dashboards/*

for goos in linux darwin windows freebsd openbsd netbsd ; do
for goarch in amd64 386; do
# path
Expand Down

0 comments on commit 63e101f

Please sign in to comment.