File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -182,3 +182,16 @@ jobs:
182182 env :
183183 TWINE_USERNAME : __token__
184184 TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
185+
186+ - name : Create release tags for Lambda and K8s Init Containers
187+ 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})"
191+ gh auth login --with-token <<< $GH_RELEASE_TOKEN
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}
196+ env :
197+ GH_RELEASE_TOKEN : ${{ secrets.GH_RELEASE_TOKEN }}
You can’t perform that action at this time.
0 commit comments