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: script:
- sh scripts/build.sh - sh scripts/build.sh
before_deploy:
- sudo apt-get update
- sudo apt-get install jshon
deploy: deploy:
provider: releases provider: releases
api_key: api_key:
@ -14,6 +18,7 @@ deploy:
file_glob: true file_glob: true
file: file:
- dist/* - dist/*
body: $(jshon -s "$(cat checksums.txt)"))
skip_cleanup: true skip_cleanup: true
on: on:
tags: true 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 Obfuscated/baritone-$VERSION.jar ../../dist/baritone-standalone-$VERSION.jar
mv baritone-$VERSION.jar ../../dist/baritone-unoptimized-$VERSION.jar mv baritone-$VERSION.jar ../../dist/baritone-unoptimized-$VERSION.jar
cd ../.. cd ../..
shasum dist/* | tee dist/checksums.txt shasum dist/* | tee checksums.txt