properly escape quotes
This commit is contained in:
parent
9abc34ca4c
commit
3556a22818
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user