-
Notifications
You must be signed in to change notification settings - Fork 208
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
Include relevant changelog on Release page #837
Comments
It could be improved indeed. But I hate this yaml nonsense with all my heart, so please don't count on me, it might take forever. |
That could be useful if only this project would PR-driven, which is not currently in case. |
Although it is powerful enough, this action can provide a changelog record without special efforts. |
But if we need just this link to compare tags, it is more logical to make it directly.
Output
We can grab only ci-tags:
And output all the commits in between:
Output
So the complete shell script is: latest_cis=$(git for-each-ref --sort=-creatordate --format '%(refname:short)' refs/tags | grep '^ci/' | head -n 2)
tag1=$(echo "$latest_cis" | sed -n '1p')
tag2=$(echo "$latest_cis" | sed -n '2p')
git log "$tag2..$tag1" We can vary the format of output changing the last line. |
Description of the new feature or improvement
It would be convenient not only see build number, but relevant changelog parts, e.g.:
build 6331
changelog
:LuaMacro\changelog:
Alternatively: list of commits messages since last build, e.g.:
build 6331
Alternatively: link to github compare, e.g.:
build 6331
builds/3.0.6330...builds/3.0.6331
Proposed technical implementation details (optional)
To get news from changelog we need to compare old size vs new size, and output only diff.
The text was updated successfully, but these errors were encountered: