ci: Use custom git log format to make release comments for continuous build
This commit is contained in:
parent
7f09f4b42d
commit
f8eb50e0cd
1 changed files with 4 additions and 1 deletions
5
.github/workflows/continuous-integration.yml
vendored
5
.github/workflows/continuous-integration.yml
vendored
|
|
@ -433,6 +433,8 @@ jobs:
|
||||||
rm -rf $GITHUB_WORKSPACE/package-*
|
rm -rf $GITHUB_WORKSPACE/package-*
|
||||||
echo "Build: ${{env.DESKFLOW_VERSION }}" > sums.txt
|
echo "Build: ${{env.DESKFLOW_VERSION }}" > sums.txt
|
||||||
sha256sum deskflow-* >> sums.txt
|
sha256sum deskflow-* >> sums.txt
|
||||||
|
export changes=$(git log --abbrev=8 --abbrev-commit --pretty=format:" - %s(%h) by %an" continuous..HEAD)
|
||||||
|
echo -e "## Latest Changes:\n$changes" > changelog.txt
|
||||||
|
|
||||||
- name: Update continuous tag
|
- name: Update continuous tag
|
||||||
if: (github.ref == 'refs/heads/master') && !(contains(github.ref, '/tags/v'))
|
if: (github.ref == 'refs/heads/master') && !(contains(github.ref, '/tags/v'))
|
||||||
|
|
@ -449,7 +451,8 @@ jobs:
|
||||||
name: "Continuous v${{env.DESKFLOW_VERSION}}"
|
name: "Continuous v${{env.DESKFLOW_VERSION}}"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
append_body: false
|
append_body: false
|
||||||
generate_release_notes: true
|
generate_release_notes: false
|
||||||
|
body_path: changelog.txt
|
||||||
files: |
|
files: |
|
||||||
deskflow-*
|
deskflow-*
|
||||||
sums.txt
|
sums.txt
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue