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