Closed loloicci closed 2 years ago
@loloicci , can this script distinguish between fixing bugs or adding features and then reflect them in the changes?
@zemyblue yes, but not literally. This script decides it is a PR number if the tail of the commit is (#XXX)
. This is the default subject of the squash and merge
commit. Other numbers are still linked as issues.
@zemyblue yes, but not literally. This script decides it is a PR number if the tail of the commit is
(#XXX)
. This is the default subject of thesquash and merge
commit. Other numbers are still linked as issues.
I meant that this script would automatically generate a change log, but it doesn't seem to distinguish between Features
or Fixes
or Changes
sections. You need to further change the PR section to which section it belongs. Is it right?
@zemyblue In my local, these three types of changes are distinguished. Can you try to remove some recent tags (e.g. v0.16.3-0.5-0 and v0.16.3-0.5.1) and retry to execute update_changelog.sh? If three types of PRs are not distinguished, tell me the output.
Oh, it works well.
But my system is Apple M1 Pro, so I need to change docker run
part like below in the generate_chagnelog.sh
.
Please check it works well in other system.
MD="docker run --platform linux/x86_64 -v $(pwd):/workdir quay.io/git-chglog/git-chglog"
Oh, it works well.
But my system is Apple M1 Pro, so I need to change docker run part like below in the generate_chagnelog.sh. Please check it works well in other system.
MD="docker run --platform linux/x86_64 -v $(pwd):/workdir quay.io/git-chglog/git-chglog"
It works in non M1 mac. I deal with it in another issue.
Description
This PR modifies chaglog template to
https://.../issues/XXX
tohttps://.../pull/XXX
in the suffix of PRs' titleAnd, modify to print a note to devtools/update_changelog.sh
Closes #164
Types of changes
Checklist