Skip to content

Commit

Permalink
Fix: release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyalsoldier committed May 2, 2021
1 parent 9c391b3 commit 30129a2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
run: |
make geosite.dat geoip.dat
make release -j$(nproc)
set -x
assets=()
for asset in ./*.zip; do
assets+=("-a" "$asset")
done
tag_name="${GITHUB_REF##*/}"
hub release create -p -d "${assets[@]}" -m "$tag_name" "$tag_name"
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
fail_on_unmatched_files: true
files: ./trojan-go-*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 30129a2

Please sign in to comment.