Skip to content

Commit

Permalink
Fix: release script tag_name
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyalsoldier committed May 2, 2021
1 parent 30129a2 commit 56f5fb5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
tag_name="${GITHUB_REF##*/}"
echo Tag $tag_name
git checkout $tag_name
echo "TAG_NAME=${tag_name}" >> $GITHUB_ENV
- name: Build
run: |
Expand All @@ -31,7 +32,8 @@ jobs:
uses: softprops/action-gh-release@v1
with:
draft: true
fail_on_unmatched_files: true
name: ${{ env.TAG_NAME }}
tag_name: ${{ env.TAG_NAME }}
files: ./trojan-go-*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 56f5fb5

Please sign in to comment.