From a82244c00167ffc9b3f73d81ad03bcdd2c8ffde1 Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Tue, 14 Jan 2025 16:16:25 -0800 Subject: [PATCH] Fixup --- .github/workflows/post_deploy_agent.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/post_deploy_agent.yml b/.github/workflows/post_deploy_agent.yml index d3f43e2d9..dd258c505 100644 --- a/.github/workflows/post_deploy_agent.yml +++ b/.github/workflows/post_deploy_agent.yml @@ -195,15 +195,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Create release tags for Lambda and K8s Init Containers - uses: dev-hanz-ops/install-gh-cli-action@c78dbed4be2f8d6133a14a9a597ee12fd4ed5c93 # v3 - with: - gh-cli-version: 2.63.2 run: | + RELEASE_TITLE="New Relic .NET Agent ${AGENT_VERSION}.0" + RELEASE_TAG="${AGENT_VERSION}.0_dotnet" + RELEASE_NOTES="Automated release for [.NET Agent ${AGENT_VERSION}](https://github.com/newrelic/newrelic-dotnet-agent/releases/tag/${AGENT_VERSION})" gh auth login --with-token <<< $GH_RELEASE_TOKEN - echo "newrelic/newrelic-lambda-layers - Releasing New Relic .NET Agent ${AGENT_VERSION}.0 with tag ${AGENT_VERSION}.0_dotnet" - gh create release "${AGENT_VERSION}.0_dotnet" -t "New Relic .NET Agent ${AGENT_VERSION}.0" --repo=newrelic/newrelic-lambda-layers - echo "newrelic/newrelic-agent-init-container - Releasing New Relic .NET Agent ${AGENT_VERSION}.0 with tag ${AGENT_VERSION}.0_dotnet" - gh create release "${AGENT_VERSION}.0_dotnet" -t "New Relic .NET Agent ${AGENT_VERSION}.0" --repo=newrelic/newrelic-agent-init-container + 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 }} - AGENT_VERSION: "newrelic-dotnet-agent-${{ inputs.agent_version }}-1.x86_64" + AGENT_VERSION: "v${{ inputs.agent_version }}"