-
Notifications
You must be signed in to change notification settings - Fork 21
Added Github action to auto build releases and generate release notes when a new tag is applied #77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
.github/workflows/nparse-build.yml
Outdated
| - name: Build the application with PyInstaller | ||
| run: | | ||
| PyInstaller nparse_py.spec | ||
| # Prepair assets for packaging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Prepare"... unless this is a pun about "pairing the exe with the assets" :P
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hah good catch, updated :)
| - name: Release | ||
| uses: softprops/action-gh-release@v2 | ||
| with: | ||
| generate_release_notes: True # This auto generates release notes. (See Syntax: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat! Is there an example of what the source for this looks like?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found relevant info at: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
The release.yml file is like a template sort of for the release notes from what I could gather. I tried to setup a defaultish template based on the tags that were currently setup/being used in the issues.
I believe the behavior should be the same behavior as if you edit a previous release, and in the notes, hit the auto generate release notes button thingy I believe, not positive though.
On my test branch it simply added a changelog dif between the versions, but I also didn't have any PR's or anything in the test branch I used to create it.
We should definitely look into customizing the release.yml more for sure.
No description provided.