From 697675fdad48fd8d16b4dec1e9dcf8dfc047bfa0 Mon Sep 17 00:00:00 2001 From: Johnpaul <100221308+Enzujp@users.noreply.github.com> Date: Fri, 19 Apr 2024 16:45:39 +0100 Subject: [PATCH] Add release-template.md for release notes automation (#529) * Add release-template.md for release notes automation * Update base-release.yaml * Move template flag to release command * Update base-release.yaml * Update release-template.md * Change "tags" to "tag" in hyperlinks --- .github/release-template.md | 1 + .github/workflows/base-release.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .github/release-template.md diff --git a/.github/release-template.md b/.github/release-template.md new file mode 100644 index 0000000..956bcd7 --- /dev/null +++ b/.github/release-template.md @@ -0,0 +1 @@ +Check the [v{{.Version}} contrib changelog](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v{{.Version}}) and the [v{{.Version}} core changelog](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v{{.Version}}) for changelogs on specific components. diff --git a/.github/workflows/base-release.yaml b/.github/workflows/base-release.yaml index e22e415..0b520db 100644 --- a/.github/workflows/base-release.yaml +++ b/.github/workflows/base-release.yaml @@ -79,7 +79,7 @@ jobs: distribution: goreleaser-pro version: latest workdir: distributions/${{ inputs.distribution }} - args: release --clean --split --timeout 2h + args: release --clean --split --timeout 2h --release-header-tmpl=../../.github/release-template.md env: GOOS: ${{ matrix.GOOS }} GOARCH: ${{ matrix.GOARCH }}