Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Generate Github release page #3

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

Closed
lyz-code opened this issue Oct 23, 2020 · 4 comments
Closed

Generate Github release page #3

lyz-code opened this issue Oct 23, 2020 · 4 comments

Comments

@lyz-code
Copy link

lyz-code commented Oct 23, 2020

Description

The Github Action currently generates release only with the tag number information but nothing else.

Possible Solution

The Github Action could generate a detailed Github release page description with the contents of the changelog of that release through the release api endpoint

Additional context

Compare commitizen releases with python-semantic-release ones.

Some users use the Watch releases to get updated on the evolution of the different software, so it's a nice way to share with your users your progress.

Thanks!

@christian-hawk
Copy link

@lyz-code, I think you can achieve this by running shell getting the diff from CHANGELOG.md.

Something like:

last_tag=0.0.2;
created_tag=0.0.3;

release_note=$(git diff $last_tag $created_tag> CHANGELOG.md | grep '^+[^++]' | cut -c2-)

git tag $created_tag $created_tag^{} -f -m "$release_note"

@woile
Copy link
Member

woile commented Mar 5, 2021

After merging this PR: commitizen-tools/commitizen#359

I'll add the flag to this action, I think should make it easier to create a Release

@lyz-code
Copy link
Author

lyz-code commented Mar 8, 2021

Thanks @woile that makes things much easier

@woile
Copy link
Member

woile commented Mar 8, 2021

@woile woile closed this as completed Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants