Skip to content

Commit d11f342

Browse files
committed
fix(librarian): short SHA
Change-Id: I2cedfbd23dd7a5355808827ac002184963bdd23f
1 parent 9ef7056 commit d11f342

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/librarian/release_notes.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ Language Image: {{.ImageVersion}}
7676
### {{.Heading}}
7777
{{ range .Commits }}
7878
{{ if index .Footers "PiperOrigin-RevId" -}}
79-
* {{.Subject}} {{.Body}} (PiperOrigin-RevId: {{index .Footers "PiperOrigin-RevId"}}) ([{{shortSHA .CommitHash}}]({{"https://github.com/"}}{{$noteSection.RepoOwner}}/{{$noteSection.RepoName}}/commit/{{.CommitHash}}))
79+
* {{.Subject}} {{.Body}} (PiperOrigin-RevId: {{index .Footers "PiperOrigin-RevId"}}) ([{{shortSHA .CommitHash}}]({{"https://github.com/"}}{{$noteSection.RepoOwner}}/{{$noteSection.RepoName}}/commit/{{shortSHA .CommitHash}}))
8080
{{- else -}}
81-
* {{.Subject}} {{.Body}} ([{{shortSHA .CommitHash}}]({{"https://github.com/"}}{{$noteSection.RepoOwner}}/{{$noteSection.RepoName}}/commit/{{.CommitHash}}))
81+
* {{.Subject}} {{.Body}} ([{{shortSHA .CommitHash}}]({{"https://github.com/"}}{{$noteSection.RepoOwner}}/{{$noteSection.RepoName}}/commit/{{shortSHA .CommitHash}}))
8282
{{- end }}
8383
{{ end }}
8484

0 commit comments

Comments
 (0)