Skip to content

Commit

Permalink
fix: encode issue
Browse files Browse the repository at this point in the history
  • Loading branch information
darrytai committed May 22, 2024
1 parent 61fed3b commit 02bb401
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ jobs:
commit_message=$(git log -n 1 --pretty=format:%B)
echo "$commit_message" > last_commit.txt
encoded_commit_message=$(echo "$commit_message" | base64)
echo "description=$encoded_commit_message" >> $GITHUB_ENV
echo "description<<EOF" >> $GITHUB_ENV
echo "$commit_message" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
git add --all
git reset last_commit.txt
Expand All @@ -85,6 +86,6 @@ jobs:
with:
tag_name: v${{ env.version }}
release_name: TMIcon <v${{ env.version }}>
body: ${{ env.description | fromBase64 }}
body: ${{ env.description }}
draft: false
prerelease: false

0 comments on commit 02bb401

Please sign in to comment.