Skip to content

Commit e36f275

Browse files
authored
Add bash logging for create_pr.sh (#3110)
* add bash logging for create_pr.sh * add start and finish lines to make the script clear in logs
1 parent 28ae6d5 commit e36f275

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build/update-attribution-files/create_pr.sh

+5
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414
# limitations under the License.
1515

1616
set -e
17+
set -x
1718
set -o pipefail
1819

20+
echo "===== Starting ${BASH_SOURCE[0]} ====="
21+
1922
if [[ -z "$JOB_TYPE" ]]; then
2023
exit 0
2124
fi
@@ -242,3 +245,5 @@ for FILE in $(find . -type f \( -name go.sum -o -name go.mod \)); do
242245
done
243246

244247
pr::create::go-mod
248+
249+
echo "===== Ending ${BASH_SOURCE[0]} ====="

0 commit comments

Comments
 (0)