Skip to content

Commit

Permalink
Autogenerate release notes from issues and pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
tmolitor-stud-tu committed Apr 25, 2024
1 parent 50c54ee commit ea5d240
Showing 1 changed file with 10 additions and 20 deletions.
30 changes: 10 additions & 20 deletions .github/workflows/autorelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
pyinstaller --clean --log-level DEBUG --name "LogViewer" --add-data "LogViewer/data:LogViewer/data" --add-data "shared/ui/*.ui:shared/ui" --add-data "LogViewer/ui/*.ui:LogViewer/ui" --specpath src --windowed --icon LogViewer/data/art/icon.png --onefile src/LogViewer.py
OUT_FILE_NAME: LogViewer
ASSET_MIME: application/x-executable

# CrashAnalyzer
- os: macos-latest
TARGET: macos
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
pyinstaller --clean --log-level DEBUG --name "CrashAnalyzer" --add-data "CrashAnalyzer/data:CrashAnalyzer/data" --add-data "shared/ui/*.ui:shared/ui" --add-data "CrashAnalyzer/ui/*.ui:CrashAnalyzer/ui" --specpath src --windowed --icon CrashAnalyzer/data/art/icon.png --onefile src/CrashAnalyzer.py
OUT_FILE_NAME: CrashAnalyzer
ASSET_MIME: application/x-executable

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
Expand Down Expand Up @@ -188,33 +188,23 @@ jobs:
steps:
- name: Load build artifacts
uses: actions/download-artifact@v4
- name: Generate release changelog

- name: Generate release notes
id: releasenotes
uses: heinrichreimer/action-github-changelog-generator@v2.4
uses: tmolitor-stud-tu/github-releasenotes-generator@main
with:
issues: true
issuesWoLabels: true
pullRequests: true
prWoLabels: true
filterByMilestone: true
author: true
usernamesAsGithubLogins: true
compareLink: true
issueLineLabels: ALL
simpleList: false
releaseBranch: master
httpCache: false
verbose: true
stripGeneratorNotice: true
token: ${{ secrets.GITHUB_TOKEN }}
NO_CREATE_RELEASE: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Release
uses: softprops/action-gh-release@v2
with:
name: Release ${{ github.ref_name }}
tag_name: ${{ github.ref }}
target_commitish: master
generate_release_notes: false
body: ${{ steps.releasenotes.outputs.changelog }}
body: ${{ steps.releasenotes.outputs.notes }}
files: |
LogViewer*/*
CrashAnalyzer*/*
Expand Down

0 comments on commit ea5d240

Please sign in to comment.