mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-21 16:38:23 +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
|
||||
PREFIX=${line%%${DESTINATION}*}
|
||||
SUFFIX=${line:${#PREFIX}}
|
||||
echo "https://$SUFFIX"
|
||||
if [[ -n "$SUFFIX" ]]; then
|
||||
echo "https://$SUFFIX"
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user