Skip to content

Commit

Permalink
Merge pull request #234 from ralexstokes/release-action-fix
Browse files Browse the repository at this point in the history
update release workflow with latest CLI interface
  • Loading branch information
ralexstokes authored May 2, 2024
2 parents 62b403c + ec9fe19 commit 945d3f3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
# ==============================

- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4

# ==============================
# Create release draft
Expand Down Expand Up @@ -119,9 +119,6 @@ jobs:
ENDBODY
)
assets=()
for asset in ./mev-rs-*.tar.gz*; do
assets+=("-a" "$asset/$asset")
done
assets=(./mev-rs-*.tar.gz*/mev-rs-*.tar.gz*)
tag_name="${{ env.VERSION }}"
echo "$body" | gh release create --draft "${assets[@]}" -F "-" "$tag_name"
echo "$body" | gh release create --draft -F "-" "$tag_name" "${assets[@]}"

0 comments on commit 945d3f3

Please sign in to comment.