File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -97,17 +97,20 @@ jobs:
9797 run : |
9898 SHORT_SHA=$(git rev-parse --short HEAD)
9999 COMMIT_MSG=$(git log -1 --pretty=%s)
100+ DATE=$(date -u +%Y-%m-%d)
100101 echo "short_sha=$SHORT_SHA" >> "$GITHUB_OUTPUT"
101102 echo "commit_msg=$COMMIT_MSG" >> "$GITHUB_OUTPUT"
103+ echo "date=$DATE" >> "$GITHUB_OUTPUT"
102104 shell : bash
103105
104106 - name : Create per-commit release
105107 env :
106108 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
107109 run : |
110+ printf "Build from commit %s\n\n%s\n" "${{ github.sha }}" "${{ steps.commit_info.outputs.commit_msg }}" > release_notes.md
108111 gh release create "${{ steps.commit_info.outputs.short_sha }}" \
109- --title "${{ steps.commit_info.outputs.short_sha }} - ${{ steps.commit_info.outputs.commit_msg }}" \
110- --notes "Build from commit ${{ github.sha }}" \
112+ --title "Följe ${{ steps.commit_info.outputs.date }} ( ${{ steps.commit_info.outputs.short_sha }}) " \
113+ --notes-file release_notes.md \
111114 --repo LogFlames/folje \
112115 ./windows-build-output/Följe.exe ./macos-build-output/Följe.app.zip
113116 shell : bash
You can’t perform that action at this time.
0 commit comments