File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 69
69
env :
70
70
GH_TOKEN : ${{ github.token }}
71
71
run : |
72
- gh pr comment ${{ github.event.pull_request.number }} --body "Alpha release created: \`${{ steps.version.outputs.version }}\`"
72
+ LATEST=$(gh release list --limit 1 --json tagName --jq ".[0].tagName")
73
+ echo "Latest release: $LATEST"
74
+ echo "Base: ${{ github.event.pull_request.base.sha }}""
75
+ COMMAND="git log --pretty=oneline ${LATEST}..${{ github.event.pull_request.base.sha }}"
76
+ gh pr comment ${{ github.event.pull_request.number }} --body \
77
+ "Alpha release created: \`${{ steps.version.outputs.version }}\` \
78
+ \n\n \
79
+ ⚠️ **Note:** This release was created from the \`HEAD\` of this branch so it may \
80
+ contain commits that have landed in \`dev\` but have not been released yet \
81
+ depending on when this branch was created. You can run the following command \
82
+ to see the commits that may not have been released yet: \
83
+ \n\n \
84
+ \`\`\`bash \
85
+ ${COMMAND} \
86
+ \`\`\`"
73
87
gh pr edit ${{ github.event.pull_request.number }} --remove-label ${{ github.event.label.name }}
You can’t perform that action at this time.
0 commit comments