diff --git a/.gitignore b/.gitignore index 3f127a53..bd7c319f 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,5 @@ faster of-watchdog* build template +**/*.sha256 diff --git a/.travis.yml b/.travis.yml index b4163404..f8905236 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,8 @@ addons: before_install: script: - sh build.sh +before_deploy: + - ./ci/hashgen.sh deploy: provider: releases api_key: @@ -19,6 +21,11 @@ deploy: - "./of-watchdog-arm64" - "./of-watchdog-darwin" - "./of-watchdog.exe" + - "./of-watchdog.sha256" + - "./of-watchdog-armhf.sha256" + - "./of-watchdog-arm64.sha256" + - "./of-watchdog-darwin.sha256" + - "./of-watchdog.exe.sha256" skip_cleanup: true on: tags: true diff --git a/ci/hashgen.sh b/ci/hashgen.sh new file mode 100755 index 00000000..83863965 --- /dev/null +++ b/ci/hashgen.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +for f in of-watchdog*; do shasum -a 256 $f > $f.sha256; done \ No newline at end of file