From 8475f48f01601212770dae387f742563bc723f44 Mon Sep 17 00:00:00 2001 From: Sophie Wigmore Date: Mon, 17 Jun 2024 16:36:03 -0400 Subject: [PATCH] update comment typo --- internal/image.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/image.go b/internal/image.go index 73a9e92..3aef801 100644 --- a/internal/image.go +++ b/internal/image.go @@ -234,7 +234,9 @@ func FindLatestBuildImage(runURI, buildURI string) (Image, error) { continue } - // legacy case: if the run image tag has a suffix (ex. 1.2.3-suffix) (ex. suffix), it should be eequal to the build image suffix + // legacy case: if the build image tag has a suffix (ex. + // :1.2.3-suffix) (ex. :suffix), it should be equal to the + // run image tag suffix in order to be considered as a valid version // See this PR for more context: https://github.com/paketo-buildpacks/jam/pull/81 if version.Prerelease() != "" && runTagSuffix != version.Prerelease() { fmt.Printf("Skipping build image version: %s, the tag suffix does not match run image tag: %s\n", tag, runTagSuffix)