mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-17 20:51:55 +01:00
fix publish output
This commit is contained in:
parent
1de9cd4468
commit
a541c1ad10
@ -17,5 +17,7 @@ OUTPUT=$(aws s3 cp s3://$ORIGIN s3://$DESTINATION --recursive --profile $AWS_PRO
|
|||||||
for line in $OUTPUT; do
|
for line in $OUTPUT; do
|
||||||
PREFIX=${line%%${DESTINATION}*}
|
PREFIX=${line%%${DESTINATION}*}
|
||||||
SUFFIX=${line:${#PREFIX}}
|
SUFFIX=${line:${#PREFIX}}
|
||||||
|
if [[ -n "$SUFFIX" ]]; then
|
||||||
echo "https://$SUFFIX"
|
echo "https://$SUFFIX"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user