File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 68
68
NEXUS_PASSWORD : ${{ secrets.NEXUS_PASSWORD }}
69
69
run : ./gradlew publish -Pbuild=$GITHUB_RUN_NUMBER -PtaboolibUsername=$NEXUS_USERNAME -PtaboolibPassword=$NEXUS_PASSWORD
70
70
71
+ # 获取 commit 信息
72
+ - name : get commit messages
73
+ id : get_commits
74
+ run : |
75
+ commit_messages=$(git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:"- %s")
76
+ echo "::set-output name=messages::$commit_messages"
77
+
71
78
# 发布到 GitHub
72
79
- name : create release
73
80
uses : actions/create-release@v1
76
83
with :
77
84
tag_name : 6.0.12-${{ github.run_number }}
78
85
release_name : 6.0.12-${{ github.run_number }}
79
- release_notes : |-
86
+ body : |
80
87
## 🤨 本次更新都有哪些主要改动?
81
- - ${{ github.event.head_commit.message }}
88
+ ${{ steps.get_commits.outputs.messages }}
You can’t perform that action at this time.
0 commit comments