From fe1dce861c4657c8ba12b4ed2e64b074d1f77ef9 Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Tue, 21 Jan 2025 19:29:12 -0800 Subject: [PATCH] Update .github/workflows/release.yml Co-authored-by: Kayla Reopelle <87386821+kaylareopelle@users.noreply.github.com> --- .github/workflows/release.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e577c7de61..8576994a67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,14 +62,14 @@ jobs: run: ruby ./.github/workflows/scripts/rubygems-publish.rb infinite_tracing/newrelic-infinite_tracing - name: Create release tags for Lambda and K8s Init Containers - run: | - RELEASE_TITLE="New Relic Ruby Agent ${GITHUB_REF}.0" - RELEASE_TAG="${GITHUB_REF}.0_ruby" - RELEASE_NOTES="Automated release for [Ruby Agent ${GITHUB_REF}](https://github.com/newrelic/newrelic-ruby-agent/releases/tag/${GITHUB_REF})" - gh auth login --with-token <<< $GH_RELEASE_TOKEN - echo "newrelic/newrelic-lambda-layers - Releasing ${RELEASE_TITLE} with tag ${RELEASE_TAG}" - gh release create "${RELEASE_TAG}" --title=${RELEASE_TITLE} --repo=newrelic/newrelic-lambda-layers --notes=${RELEASE_NOTES} - echo "newrelic/newrelic-agent-init-container - Releasing ${RELEASE_TITLE} with tag ${RELEASE_TAG}" - gh release create "${RELEASE_TAG}" --title=${RELEASE_TITLE} --repo=newrelic/newrelic-agent-init-container --notes=${RELEASE_NOTES} - env: - GH_RELEASE_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }} + run: | + RELEASE_TITLE="New Relic Ruby Agent ${GITHUB_REF}.0" + RELEASE_TAG="${GITHUB_REF}.0_ruby" + RELEASE_NOTES="Automated release for [Ruby Agent ${GITHUB_REF}](https://github.com/newrelic/newrelic-ruby-agent/releases/tag/${GITHUB_REF})" + gh auth login --with-token <<< $GH_RELEASE_TOKEN + echo "newrelic/newrelic-lambda-layers - Releasing ${RELEASE_TITLE} with tag ${RELEASE_TAG}" + gh release create "${RELEASE_TAG}" --title=${RELEASE_TITLE} --repo=newrelic/newrelic-lambda-layers --notes=${RELEASE_NOTES} + echo "newrelic/newrelic-agent-init-container - Releasing ${RELEASE_TITLE} with tag ${RELEASE_TAG}" + gh release create "${RELEASE_TAG}" --title=${RELEASE_TITLE} --repo=newrelic/newrelic-agent-init-container --notes=${RELEASE_NOTES} + env: + GH_RELEASE_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}