File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
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
- 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 }}"
72
+ LATEST_RELEASE_SHA=$(gh release list --limit 1 --json tagName --jq ".[0].tagName")
73
+ BASE_SHA=$(echo ${{ github.event.pull_request.base.sha }} | cut -c1-7)
74
+ COMMAND="git log --pretty=oneline ${LATEST_RELEASE_SHA}..${BASE_SHA}"
76
75
echo -e \
77
76
"Alpha release created: \`${{ steps.version.outputs.version }}\`\n\n\
78
77
⚠️ **Note:** This release was created from the \`HEAD\` of this branch so it \
You can’t perform that action at this time.
0 commit comments