Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
Change-Id: Ic1ce4170fb748345b0371d02f97969be73e60d85
"gs://$gs_path"/**.html
fi
- gerrit_comment="Document link(s): $(gsutil ls gs://$gs_path | grep -e 'index.html$' -e 'pdf$' | sed 's/^gs/http/')"
+ files=$(find docs/output | grep -e 'index.html$' -e 'pdf$' | \
+ sed -e "s|^docs/output| http://$gs_path|")
+ gerrit_comment="Document link(s):
+ $files"
echo
echo "$gerrit_comment"
echo
"gs://$gs_path"/**.html
fi
- gerrit_comment="Document link(s): $(gsutil ls gs://$gs_path | grep -e 'index.html$' -e 'pdf$' | sed 's/^gs/http/')"
+ files=$(find docs/output | grep -e 'index.html$' -e 'pdf$' | \
+ sed -e "s|^docs/output| http://$gs_path|")
+ gerrit_comment="Document link(s):
+ $files"
echo
echo "$gerrit_comment"
echo