-
Notifications
You must be signed in to change notification settings - Fork 61
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
Option to skip uploading changelog #71
Comments
As a workaround, I wound up building a manual changelog and then using a tool to slice out just the current release's changes to use as the packager-changelog. This gets me decent GitHub release notes... at the cost of overwriting my WoWI changelog with only the current release. So, yeah, it's not perfect. |
I make my own changelogs in markdown format, ended up just trimming the changelog down to the first header and paragraph(s). - name: Trim changelog
run: sed -ni '1p;2,/^###/{/^###/q;p;}' CHANGELOG.md If you want to close the issue that's fine by me, I'm satisfied with this. |
Actually I'd like this, an option to not include the changelog.md in the file. I still like the changelog it writes for the description fields, though. |
I was looking for a way to have a manual changelog and only include the latest version's changes in the Github release and Curseforge release. The Github Action that @kemayo made, Packager Workflow YAML (before the packager step)
.pkgmeta
I would definitely like it if having a manual changelog and only including the latest version's changes was a part of the packager though. I'm not sure if that should be a separate issue though, since it's not the same thing as the title of this issue, even though this solution was discussed here. |
@nanderson11 The packager ignores dotfiles by default, if you name the output from kemayo's action As far the "packager should do everything" I disagree, it should package and upload, everything else could and should be handled by other steps that are more specialized for it. |
Speaking as the person who wrote said action, it does only work because it's very opinionated about the format a changelog should use. Building that opinion into the packager doesn't seem like the right thing to do. (It'd be like if the automatic changelog from the git history decided to suddenly require that you use one of those change-tagging syntaxes to work...) |
@p3lim That's a good idea to use a preceding dot, thanks. And yeah, I definitely understand that this is on the fringes of "too specific." Although if the packager created Github/CF/etc releases, but couldn't include a change log in those releases, that wouldn't be a very useful release. And so the packager has the commit history change log and the manual change log. It would just be nice if that option also didn't restrict you to full history or just that specific version. @kemayo Yeah, I did think about there being lots of different ways to write a change log, but an approach that supports https://keepachangelog.com and https://common-changelog.org/ seems like a reasonable place to start. Your action worked for me because we both followed a standard. Anyways, I just mainly wanted to say "hey, I ran into this issue too" and if it's a common enough problem, maybe it can be built in. Thank you both, for the packager, and for the recent change log action. |
That's why the manual changelog option is there, the default log is bare-minimum, and should stay that way, not opinionated at all. |
I specifically need this for GitHub releases, but for all three would be good too.
The text was updated successfully, but these errors were encountered: