Skip to content

Commit

Permalink
fixed issue cannot call github event data from shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
YoussefSell committed Dec 6, 2021
1 parent 83cb93e commit 230aa4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
- name: Upload assets to release
run: |
chmod +x ./publish-assets.sh
./publish-assets.sh
./publish-assets.sh ${{ github.event.release.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion publish-assets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ for asset in *.snupkg
do
assets+=("$asset")
done
gh release upload ${{ github.event.release.tag_name }} "${assets[@]}"
gh release upload $1 "${assets[@]}"

0 comments on commit 230aa4b

Please sign in to comment.