diff --git a/.github/workflows/build-release-assets.yml b/.github/workflows/build-release-assets.yml index 74fcf11..ac12049 100644 --- a/.github/workflows/build-release-assets.yml +++ b/.github/workflows/build-release-assets.yml @@ -28,9 +28,7 @@ jobs: env: AUTH_TOKEN: ${{ secrets.RELEASE_ASSET_TOKEN }} run: | - pwd - git tag - tag=$(git tag | sort -V | tail -1) + tag=$(gh release list --json tagName -q '.[0].tagName') file=/tmp/newrelic-lambda-extension.arm64.zip if [ -f /tmp/newrelic-lambda-extension.x86_64.zip ];then file=/tmp/newrelic-lambda-extension.x86_64.zip