From 3de90db48870a150a65e67a70071995ecad09717 Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Thu, 9 Jan 2025 14:04:57 -0800 Subject: [PATCH] Update .github/workflows/deploy-python.yml Co-authored-by: Timothy Pansino <11214426+TimPansino@users.noreply.github.com> --- .github/workflows/deploy-python.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-python.yml b/.github/workflows/deploy-python.yml index cf3e1bafa..07d718c4e 100644 --- a/.github/workflows/deploy-python.yml +++ b/.github/workflows/deploy-python.yml @@ -185,10 +185,13 @@ jobs: - name: Create release tags for Lambda and K8s Init Containers run: | + RELEASE_TITLE="New Relic Python Agent ${GITHUB_REF}.0" + RELEASE_TAG="${GITHUB_REF}.0_python" + RELEASE_NOTES="Automated release for [Python Agent ${GITHUB_REF}](https://github.com/newrelic/newrelic-python-agent/releases/tag/${GITHUB_REF})" gh auth login --with-token <<< $GH_RELEASE_TOKEN - echo "newrelic/newrelic-lambda-layers - Releasing New Relic Python Agent ${GITHUB_REF}.0 with tag ${GITHUB_REF}.0_python" - gh create release "${GITHUB_REF}.0_python" -t "New Relic Python Agent ${GITHUB_REF}.0" --repo=newrelic/newrelic-lambda-layers - echo "newrelic/newrelic-agent-init-container - Releasing New Relic Python Agent ${GITHUB_REF}.0 with tag ${GITHUB_REF}.0_python" - gh create release "${GITHUB_REF}.0_python" -t "New Relic Python Agent ${GITHUB_REF}.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 }}