diff --git a/.travis.yml b/.travis.yml index 3995b1a..19705f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,6 +34,7 @@ deploy: - "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" + - "bin/release/sha256sums.txt" skip_cleanup: true on: repo: jonnenauha/prometheus_varnish_exporter diff --git a/build.sh b/build.sh index 7c3cbc3..43decdb 100755 --- a/build.sh +++ b/build.sh @@ -60,3 +60,7 @@ for goos in linux darwin windows freebsd openbsd netbsd ; do echo " > `du -hc $path | awk 'NR==1{print $1;}'` $path" done done + +cd ./bin/release +sha256sum --binary ./* | sed -En "s/\*\.\/(.*)$/\1/p" > sha256sums.txt +cd ../..