From 63e101fa5684f3ab9e991d3732d80e91a8d49794 Mon Sep 17 00:00:00 2001 From: Jonne Nauha Date: Mon, 23 Oct 2017 00:00:01 +0300 Subject: [PATCH] Upload a separate dashboards archive on releases. --- .travis.yml | 1 + build.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index b66712f..3995b1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/build.sh b/build.sh index 5edbb4b..8ddca32 100755 --- a/build.sh +++ b/build.sh @@ -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