File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 46
46
latest_tag=$(git describe --tags --abbrev=0)
47
47
echo "latest_tag=$(git describe --tags --abbrev=0)" >> "$GITHUB_ENV"
48
48
echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_ENV"
49
- tag_body=$(git tag -l "${latest_tag}" --format='%(contents:body)')
49
+ EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
50
+ echo "tag_body<<$EOF" >> "$GITHUB_ENV"
51
+ git tag -l "${latest_tag}" --format='%(contents:body)' >> "$GITHUB_ENV"
52
+ echo "$EOF" >> "$GITHUB_ENV"
50
53
- name : Create GitHub Release 🚀
51
54
uses : actions/create-release@v1
52
55
env :
56
59
release_name : Version ${{ env.latest_tag }}, ${{ env.date }}
57
60
draft : false
58
61
prerelease : false
59
- body : Body is ${{ env.tag_body }}
62
+ body : ${{ env.tag_body }}
You can’t perform that action at this time.
0 commit comments