From 5a82b2b3223426e4e9686ad3adefb2c228b0a99c Mon Sep 17 00:00:00 2001 From: Leijurv Date: Tue, 25 Sep 2018 09:08:35 -0700 Subject: [PATCH] deploy checksums to body --- .travis.yml | 5 +++++ scripts/build.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4f7133ea..041d0fc4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,10 @@ install: script: - sh scripts/build.sh +before_deploy: +- sudo apt-get update +- sudo apt-get install jshon + deploy: provider: releases api_key: @@ -14,6 +18,7 @@ deploy: file_glob: true file: - dist/* + body: $(jshon -s "$(cat checksums.txt)")) skip_cleanup: true on: tags: true diff --git a/scripts/build.sh b/scripts/build.sh index ae2d1ff9..cd8d2c31 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -19,4 +19,4 @@ java -jar ../../proguard6.0.3/lib/proguard.jar @standalone.pro mv Obfuscated/baritone-$VERSION.jar ../../dist/baritone-standalone-$VERSION.jar mv baritone-$VERSION.jar ../../dist/baritone-unoptimized-$VERSION.jar cd ../.. -shasum dist/* | tee dist/checksums.txt \ No newline at end of file +shasum dist/* | tee checksums.txt \ No newline at end of file