properly escape quotes

This commit is contained in:
Leijurv
2018-09-25 14:18:49 -07:00
parent 9abc34ca4c
commit 3556a22818

View File

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