Skip to content

Commit

Permalink
Add sha256sums.txt for build and release files. Fixes #26.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnenauha committed Dec 8, 2017
1 parent 03f910a commit dea6207
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ../..

0 comments on commit dea6207

Please sign in to comment.