Skip to content

Commit 95d54a7

Browse files
authored
Merge pull request #1297 from newrelic/fix-ref
Use name instead of ref
2 parents 237897a + f4cc3ae commit 95d54a7

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
@@ -187,9 +187,9 @@ jobs:
187187

188188
- name: Create release tags for Lambda and K8s Init Containers
189189
run: |
190-
RELEASE_TITLE="New Relic Python Agent ${GITHUB_REF}.0"
191-
RELEASE_TAG="${GITHUB_REF}.0_python"
192-
RELEASE_NOTES="Automated release for [Python Agent ${GITHUB_REF}](https://github.com/newrelic/newrelic-python-agent/releases/tag/${GITHUB_REF})"
190+
RELEASE_TITLE="New Relic Python Agent ${GITHUB_REF_NAME}.0"
191+
RELEASE_TAG="${GITHUB_REF_NAME}.0_python"
192+
RELEASE_NOTES="Automated release for [Python Agent ${GITHUB_REF_NAME}](https://github.com/newrelic/newrelic-python-agent/releases/tag/${GITHUB_REF_NAME})"
193193
gh auth login --with-token <<< $GH_RELEASE_TOKEN
194194
echo "newrelic/newrelic-lambda-layers - Releasing \"${RELEASE_TITLE}\" with tag ${RELEASE_TAG}"
195195
gh release create "${RELEASE_TAG}" --title="${RELEASE_TITLE}" --repo=newrelic/newrelic-lambda-layers --notes="${RELEASE_NOTES}"

0 commit comments

Comments
 (0)