From c327acfc7eee5177e74ca2c83614d9ae10f23aa9 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Tue, 24 Oct 2023 10:20:42 +0000 Subject: [PATCH] Add buildpack description to buildpack.toml (#178) Adds the buildpack `description` to `buildpack.toml` with a style matching that discussed in: https://github.com/heroku/cnb-builder-images/issues/408 The `description` field is displayed on the CNB registry's page for the buildpack. In addition, I've cleaned up the `[metadata]` table/subtables to match the more concise style used by the Procfile and Python CNBs. GUS-W-14121598. --- CHANGELOG.md | 4 ++++ buildpack.toml | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 608a2783..7d068d85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Added buildpack description to metadata used by CNB registry. ([#178](https://github.com/heroku/buildpack-go/pull/178)) + ## [0.1.10] - 2023-10-12 ### Added diff --git a/buildpack.toml b/buildpack.toml index 23533c85..b1db5af2 100644 --- a/buildpack.toml +++ b/buildpack.toml @@ -5,6 +5,7 @@ id = "heroku/go" version = "0.1.10" name = "Heroku Go" homepage = "https://github.com/heroku/buildpacks-go" +description = "Heroku's buildpack for Go applications." keywords = ["go", "golang", "heroku"] clear-env = true @@ -17,7 +18,5 @@ id = "heroku-20" [[stacks]] id = "heroku-22" -[metadata] [metadata.release] -[metadata.release.image] -repository = "docker.io/heroku/buildpack-go" +image = { repository = "docker.io/heroku/buildpack-go" }