[go: up one dir, main page]

Skip to content

Commit

Permalink
releng/release-create-github: Use the Git tag in the CHANGELOG link
Browse files Browse the repository at this point in the history
Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
  • Loading branch information
LukeShu committed Jan 13, 2022
1 parent 9617f65 commit f78c9b3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions releng/release-create-github
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RELEASE_BODY_FORMAT= """
#### Emissary Ingress is an open source, Kubernetes-native microservices API gateway built on the Envoy Proxy.
Upgrade Emissary - https://www.getambassador.io/reference/upgrading.html
View changelog - https://github.com/emissary-ingress/emissary/blob/master/CHANGELOG.md
View changelog - https://github.com/emissary-ingress/emissary/blob/{git_tag}/CHANGELOG.md
Get started with Emissary on Kubernetes - https://www.getambassador.io/user-guide/getting-started
{release_notes}
Expand Down Expand Up @@ -78,7 +78,11 @@ def main(release_version: str) -> int:
f"v{release_version}",
"--repo", get_gh_repo(),
"--title", RELEASE_TITLE_FORMAT.format(release_version=release_version),
"--notes", RELEASE_BODY_FORMAT.format(release_version=release_version, release_notes=buf)])
"--notes", RELEASE_BODY_FORMAT.format(
release_version=release_version,
release_notes=buf,
git_tag="v"+release_version,
)])
if not checker.ok:
return 1

Expand Down

0 comments on commit f78c9b3

Please sign in to comment.