File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,18 @@ jobs:
44
44
45
45
- name : Collect commit ranges
46
46
run : |
47
- echo "CHANGELOG=$(git log main --since "$(git show -s --format=%ci $(git rev-list --tags --max-count=1))" --pretty='format:- %s')" >> $GITHUB_OUTPUT
47
+ CHANGELOG="$(git log main --since "$(git show -s --format=%ci $(git rev-list --tags --max-count=1))" --pretty='format:- %s')"
48
+ DELIMITER=$(echo $RANDOM | md5sum | head -c 20;)
49
+ echo "CHANGELOG<<$DELIMITER" >> $GITHUB_ENV
50
+ echo "$CHANGELOG" >> $GITHUB_ENV
51
+ echo "$DELIMITER" >> $GITHUB_ENV
48
52
49
53
- name : Create Release
50
54
uses : softprops/action-gh-release@v1
51
55
env :
52
56
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53
57
with :
54
- body_path : ${{ steps.version.outputs .CHANGELOG }}
58
+ body_path : ${{ env .CHANGELOG }}
55
59
draft : false
56
60
prerelease : false
57
61
tag_name : ${{ github.event.inputs.version }}
You can’t perform that action at this time.
0 commit comments