Skip to content

Commit 8465b9a

Browse files
committed
Use name instead of ref
1 parent 1e87217 commit 8465b9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy-python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ 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})"
188+
RELEASE_TITLE="New Relic Python Agent ${GITHUB_REF_NAME}.0"
189+
RELEASE_TAG="${GITHUB_REF_NAME}.0_python"
190+
RELEASE_NOTES="Automated release for [Python Agent ${GITHUB_REF_NAME}](https://github.com/newrelic/newrelic-python-agent/releases/tag/${GITHUB_REF_NAME})"
191191
gh auth login --with-token <<< $GH_RELEASE_TOKEN
192192
echo "newrelic/newrelic-lambda-layers - Releasing \"${RELEASE_TITLE}\" with tag ${RELEASE_TAG}"
193193
gh release create "${RELEASE_TAG}" --title="${RELEASE_TITLE}" --repo=newrelic/newrelic-lambda-layers --notes="${RELEASE_NOTES}"

0 commit comments

Comments
 (0)