Skip to content

Commit

Permalink
Update build-release-assets.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iamemilio authored Feb 13, 2024
1 parent 856824e commit f5f5d90
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@ jobs:
AUTH_TOKEN: ${{ secrets.RELEASE_ASSET_TOKEN }}
run: |
tag=$(git tag | sort -V | tail -1)
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
else
file=/tmp/newrelic-lambda-extension.arm64.zip
fi
echo "uploading $file to release $tag"
#gh auth login --with-token <<< "$AUTH_TOKEN"
gh release upload $tag $file
gh auth login --with-token <<< "$AUTH_TOKEN"
gh release upload "$tag" "$file"

0 comments on commit f5f5d90

Please sign in to comment.