microsoft / rushstack

Monorepo for tools developed by the Rush Stack community
https://rushstack.io/
Other
5.86k stars 595 forks source link

[rush] How to get generated changelog for `version --bump` #3028

Open ziofat opened 2 years ago

ziofat commented 2 years ago

Summary

I use rush version --bump and rush publish -p --include-all to publish my packages in CI.

In the meantime I'd like to have a robot to notify my users there is a new version if the publish pipeline has been invoked.

Details

Currently it is hard to get new changelog and new version of my packages. It will be great to have these info to be logged into a file or output to some environment variables.

Standard questions

Please answer these questions to help us investigate your issue more quickly:

Question Answer
@microsoft/rush globally installed version? 5.54.0
rushVersion from rush.json? 5.54.0
useWorkspaces from rush.json?
Operating system? any
Would you consider contributing a PR? No
Node.js version (node -v)? 14
dmichon-msft commented 2 years ago

You can extract the set of updated change files by running git diff --name-only HEAD~1..HEAD -- and selecting all files that match CHANGELOG.json.