Skip to content

Commit e934b93

Browse files
authored
chore: Remove commit body and PR# from post-processor-changes-txt (#1137)
Fixes #1134 🦕 Removes the commit body and relative PR# from the commit message. For example, for this commit: 9763f20 `post-processor-changes.txt` would contain ``` build: enable npm for php/python builds Source-Link: 9763f20 ``` instead of ``` build: enable npm for php/python builds (#1133) * build: enable npm for php/python builds * update comment Source-Link: 9763f20 ```
1 parent d4a91f8 commit e934b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/owlbot/python/cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ steps:
44
entrypoint: '/bin/sh'
55
args:
66
- '-c'
7-
- 'git log -1 --format="%s%n%n%b%nSource-Link: https://github.com/googleapis/synthtool/commit/%H" > post-processor-changes.txt'
7+
- 'git log -1 --format="%s%n%nSource-Link: https://github.com/googleapis/synthtool/commit/%H" | sed -e "s/([^()]*)$//g" > post-processor-changes.txt'
88
- name: 'gcr.io/cloud-builders/docker'
99
args: [ 'build',
1010
'-t', 'gcr.io/$PROJECT_ID/owlbot-python:$SHORT_SHA',

0 commit comments

Comments
 (0)