Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
hmstepanek committed Jan 15, 2025
1 parent ed3f3b0 commit f49f3dd
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,15 @@ jobs:
path: newrelic-php-agent/releases
name: release-from-gha-${{ matrix.platform }}-${{ matrix.arch }}
if-no-files-found: error

- name: Create release tags for Lambda and K8s Init Containers
uses: dev-hanz-ops/install-gh-cli-action@c78dbed4be2f8d6133a14a9a597ee12fd4ed5c93 # v3
with:
gh-cli-version: 2.63.2
run: |
RELEASE_TITLE="New Relic PHP Agent ${GITHUB_REF}.0"
RELEASE_TAG="${GITHUB_REF}.0_php"
RELEASE_NOTES="Automated release for [PHP Agent ${GITHUB_REF}](https://github.com/newrelic/newrelic-php-agent/releases/tag/${GITHUB_REF})"
gh auth login --with-token <<< $GH_RELEASE_TOKEN
echo "newrelic/newrelic-agent-init-container - Releasing New Relic PHP Agent ${GITHUB_REF}.0 with tag ${GITHUB_REF}.0_php"
gh create release "${GITHUB_REF}.0_php" -t "New Relic PHP 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 }}

0 comments on commit f49f3dd

Please sign in to comment.