deploy checksums to body

This commit is contained in:
Leijurv 2018-09-25 09:08:35 -07:00
parent 1b1670427b
commit 5a82b2b322
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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
shasum dist/* | tee checksums.txt