Skip to content

Commit 3de90db

Browse files
Update .github/workflows/deploy-python.yml
Co-authored-by: Timothy Pansino <[email protected]>
1 parent 0988d57 commit 3de90db

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/deploy-python.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,13 @@ jobs:
185185

186186
- name: Create release tags for Lambda and K8s Init Containers
187187
run: |
188+
RELEASE_TITLE="New Relic Python Agent ${GITHUB_REF}.0"
189+
RELEASE_TAG="${GITHUB_REF}.0_python"
190+
RELEASE_NOTES="Automated release for [Python Agent ${GITHUB_REF}](https://github.com/newrelic/newrelic-python-agent/releases/tag/${GITHUB_REF})"
188191
gh auth login --with-token <<< $GH_RELEASE_TOKEN
189-
echo "newrelic/newrelic-lambda-layers - Releasing New Relic Python Agent ${GITHUB_REF}.0 with tag ${GITHUB_REF}.0_python"
190-
gh create release "${GITHUB_REF}.0_python" -t "New Relic Python Agent ${GITHUB_REF}.0" --repo=newrelic/newrelic-lambda-layers
191-
echo "newrelic/newrelic-agent-init-container - Releasing New Relic Python Agent ${GITHUB_REF}.0 with tag ${GITHUB_REF}.0_python"
192-
gh create release "${GITHUB_REF}.0_python" -t "New Relic Python Agent ${GITHUB_REF}.0" --repo=newrelic/newrelic-agent-init-container
192+
echo "newrelic/newrelic-lambda-layers - Releasing ${RELEASE_TITLE} with tag ${RELEASE_TAG}"
193+
gh release create "${RELEASE_TAG}" --title=${RELEASE_TITLE} --repo=newrelic/newrelic-lambda-layers --notes=${RELEASE_NOTES}
194+
echo "newrelic/newrelic-agent-init-container - Releasing ${RELEASE_TITLE} with tag ${RELEASE_TAG}"
195+
gh release create "${RELEASE_TAG}" --title=${RELEASE_TITLE} --repo=newrelic/newrelic-agent-init-container --notes=${RELEASE_NOTES}
193196
env:
194197
GH_RELEASE_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}

0 commit comments

Comments
 (0)