From 574e7bfbc1d30b86f0ff33a01653ebe525b0c964 Mon Sep 17 00:00:00 2001 From: Robert Burke Date: Thu, 1 Feb 2024 11:16:24 -0800 Subject: [PATCH] Fix script typos for validating docker licenses. (#30176) --- contributor-docs/release-guide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contributor-docs/release-guide.md b/contributor-docs/release-guide.md index b3b3213d9c97..559d3c0f9f0f 100644 --- a/contributor-docs/release-guide.md +++ b/contributor-docs/release-guide.md @@ -564,11 +564,11 @@ The following should be confirmed: At [https://hub.docker.com/u/apache](https://hub.docker.com/search?q=apache%2Fbeam&type=image), visit each repository and navigate to "tags" tab. Verify images are pushed -with tags: `${RELEASE_VERSION}rc{RC_NUM}` +with tags: `${RELEASE_VERSION}rc${RC_NUM}` Verify that third party licenses are included in Docker. You can do this with a simple script: - RC_TAG=${RELEASE_VERSION}rc{RC_NUM} + RC_TAG=${RELEASE_VERSION}rc${RC_NUM} for pyver in 3.8 3.9 3.10 3.11; do docker run --rm --entrypoint sh \ apache/beam_python${pyver}_sdk:${RC_TAG} \ @@ -577,7 +577,7 @@ Verify that third party licenses are included in Docker. You can do this with a for javaver in 8 11 17; do docker run --rm --entrypoint sh \ - apache/beam_java${pyver}_sdk:${RC_TAG} \ + apache/beam_java${javaver}_sdk:${RC_TAG} \ -c 'ls -al /opt/apache/beam/third_party_licenses/ | wc -l' done