properly escape quotes

This commit is contained in:
Leijurv 2018-09-25 14:18:49 -07:00
parent 9abc34ca4c
commit 3556a22818
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -15,7 +15,7 @@ script:
- docker cp baritone:/code/dist dist - docker cp baritone:/code/dist dist
- ls dist - ls dist
- cat dist/checksums.txt - cat dist/checksums.txt
- jshon -s "$(cat dist/checksums.txt)" - sed -e 's/^"//' -e 's/"$//' <<<$(jshon -s "$(cat dist/checksums.txt)")
deploy: deploy:
provider: releases provider: releases
@ -25,7 +25,7 @@ deploy:
file_glob: true file_glob: true
file: file:
- dist/* - dist/*
body: $(jshon -s "$(cat dist/checksums.txt)") body: $(sed -e 's/^"//' -e 's/"$//' <<<$(jshon -s "$(cat dist/checksums.txt)"))
skip_cleanup: true skip_cleanup: true
on: on:
tags: true tags: true