From 788a4a5fe9c77327a1ec723b1a886fe5ec75a9ba Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Fri, 8 Mar 2024 11:06:57 +0000 Subject: [PATCH] Fix broken upstream docs URL in deprecation message (#476) The upstream CNB project has rearranged a number of the docs pages, breaking some existing links such as: https://buildpacks.io/docs/tools/pack/cli/pack_config_default-builder/ I've filed https://github.com/buildpacks/docs/issues/673 for potentially adding redirects, however, for the deprecation warning use-case, it makes more sense for us to just inline the CLI command rather than link out to the docs. --- builder-classic-22/end-of-life-buildpack/bin/build | 4 ++-- buildpacks-20/end-of-life-buildpack/bin/build | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/builder-classic-22/end-of-life-buildpack/bin/build b/builder-classic-22/end-of-life-buildpack/bin/build index a6dbf7a..0245d9c 100755 --- a/builder-classic-22/end-of-life-buildpack/bin/build +++ b/builder-classic-22/end-of-life-buildpack/bin/build @@ -23,8 +23,8 @@ such as 'heroku/builder:22': https://github.com/heroku/cnb-builder-images#available-images If you are using the Pack CLI, you will need to adjust your '--builder' -CLI argument, or else change the default builder configuration: -https://buildpacks.io/docs/tools/pack/cli/pack_config_default-builder/ +CLI argument, or else change the default builder configuration using: +'pack config default-builder ' If you are using a third-party platform to deploy your app, check their documentation for how to adjust the builder image used for your build. diff --git a/buildpacks-20/end-of-life-buildpack/bin/build b/buildpacks-20/end-of-life-buildpack/bin/build index d0d2c41..e0447ba 100755 --- a/buildpacks-20/end-of-life-buildpack/bin/build +++ b/buildpacks-20/end-of-life-buildpack/bin/build @@ -23,8 +23,8 @@ such as 'heroku/builder:22': https://github.com/heroku/cnb-builder-images#available-images If you are using the Pack CLI, you will need to adjust your '--builder' -CLI argument, or else change the default builder configuration: -https://buildpacks.io/docs/tools/pack/cli/pack_config_default-builder/ +CLI argument, or else change the default builder configuration using: +'pack config default-builder ' If you are using a third-party platform to deploy your app, check their documentation for how to adjust the builder image used for your build.