Skip to content
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

Output to stdout? #83

Closed
webpro opened this issue Jan 9, 2019 · 2 comments
Closed

Output to stdout? #83

webpro opened this issue Jan 9, 2019 · 2 comments

Comments

@webpro
Copy link

webpro commented Jan 9, 2019

Nice work, @cookpete! I just added this tool to the release-it docs: https://github.com/webpro/release-it#changelogs

Can auto-changelog also output to stdout? And, output only the commits since the latest tag? Then auto-changelog could also serve to replace the default (GitHub/GitLab) release notes in release-it more easily with a custom template.

@cookpete
Copy link
Owner

Thanks @webpro!

I've added a --stdout option in 1.11.0. If you get the hash of the latest tag, you should be able to use --stdout in combination with --starting-commit [hash] to get what you're after.

@webpro
Copy link
Author

webpro commented Jan 17, 2019

Thanks @cookpete! Very cool, this allows release-it users to use a template for changelog generation. I just added this to the docs: release-it/release-it@e18bfb0. Please let me know if you have any feedback or ideas for improvements.

mattlyons0 pushed a commit to mattlyons0/auto-changelog that referenced this issue Feb 14, 2019
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

2 participants