File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 6363 echo "TAG=${TAG}"
6464 - name : " Checkout code"
6565 uses : actions/checkout@v4
66+ with :
67+ fetch-depth : 0
6668 - name : " Get commit history"
6769 id : commits
6870 run : |
@@ -75,15 +77,15 @@ jobs:
7577 echo "Listing commits between $PREVIOUS_TAG and $TAG."
7678 COMMIT_RANGE=$(git log --pretty=format:"- %s (%h)" "${PREVIOUS_TAG}..${TAG}")
7779 fi
78- echo "commits= $COMMIT_RANGE" >> "$GITHUB_OUTPUT"
80+ echo "$COMMIT_RANGE" > commit_history.txt
7981 - name : " Create release"
8082 uses : actions/create-release@v1
8183 env :
8284 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8385 with :
8486 tag_name : ${{ github.ref_name }}
8587 release_name : Release ${{ github.ref_name }}
86- body : ${{ steps.commits.outputs.commits }}
88+ body_path : commit_history.txt
8789 draft : false
8890 prerelease : false
8991 - name : " Get short SHA"
You can’t perform that action at this time.
0 commit comments