diff --git a/.travis.yml b/.travis.yml index f4839e07d..3af31bca5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,8 @@ script: after_success: - docker pull stashapp/compiler:4 - sh ./scripts/cross-compile.sh +- git describe --tags --exclude latest_develop | tee CHECKSUMS_SHA1 +- sha1sum dist/stash-* | sed 's/dist\///g' | tee -a CHECKSUMS_SHA1 - 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then sh ./scripts/upload-pull-request.sh; fi' before_deploy: # push the latest tag when on the develop branch @@ -47,6 +49,7 @@ deploy: - dist/stash-linux-arm64v8 - dist/stash-linux-arm32v7 - dist/stash-pi + - CHECKSUMS_SHA1 skip_cleanup: true overwrite: true name: "${STASH_VERSION}: Latest development build" @@ -73,6 +76,7 @@ deploy: - dist/stash-linux-arm64v8 - dist/stash-linux-arm32v7 - dist/stash-pi + - CHECKSUMS_SHA1 # make the release a draft so the maintainers can confirm before releasing draft: true skip_cleanup: true diff --git a/scripts/upload-pull-request.sh b/scripts/upload-pull-request.sh index 10523c903..358880c76 100644 --- a/scripts/upload-pull-request.sh +++ b/scripts/upload-pull-request.sh @@ -33,3 +33,6 @@ uploadFile() uploadFile "dist/stash-osx" uploadFile "dist/stash-win.exe" uploadFile "dist/stash-linux" + +echo "SHA1 Checksums" +cat CHECKSUMS_SHA1 | grep -v '\-pi\|\-arm'