From 5edf371c29996dc7ea20f714aa7f34b252fd678e Mon Sep 17 00:00:00 2001 From: jackgopack4 Date: Mon, 22 Jul 2024 14:48:43 -0400 Subject: [PATCH] update releases directory --- .github/workflows/builder-release.yaml | 3 ++- cmd/builder/.goreleaser.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/builder-release.yaml b/.github/workflows/builder-release.yaml index 1c6094f6820..3164221716d 100644 --- a/.github/workflows/builder-release.yaml +++ b/.github/workflows/builder-release.yaml @@ -20,12 +20,13 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0 with: - distribution: goreleaser + distribution: goreleaser-pro version: latest args: release --clean -f cmd/builder/.goreleaser.yml env: GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Create Github Release run: | gh release create ${{ github.ref_name }} -t ${{ github.ref_name }} -n "### Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/${{ github.ref_name }}" diff --git a/cmd/builder/.goreleaser.yml b/cmd/builder/.goreleaser.yml index 79b53ad861e..7406d0e16a4 100644 --- a/cmd/builder/.goreleaser.yml +++ b/cmd/builder/.goreleaser.yml @@ -27,7 +27,7 @@ builds: release: github: owner: jackgopack4 - name: opentelemetry-collector + name: opentelemetry-collector-releases header: | ### Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/{{ .Tag }} archives: