-
Notifications
You must be signed in to change notification settings - Fork 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
feat: add upgrading info outputs to internal-prepare #374
feat: add upgrading info outputs to internal-prepare #374
Conversation
Is there a reason we double-output errors in the semantic-release-cargo/src/lib.rs Lines 174 to 181 in 53f2cf6
It ends up double outputting $ ../../target/release/semantic-release-cargo verify-conditions
registry token for crates-io empty or not set.
Error: Conditions for a release are not satisfied: registry token for crates-io empty or not set. I'm wondering if it would be better to remove the |
Open questions
|
There is no good reason, please feel free to simplify! |
I'm not entirely sure what consequence this has, but I assume if it's safe to do for |
Looks like you standardized to sentence-case logs, looks good to me 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prints log lines more verbosely and consistently ✨
Thank you @ncatelli!
🎉 This PR is included in version 2.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Perfect, I may come through with a follow-up PR for that and the log targets in the future. |
General
This PR starts the work of improving the logging discussed on #372 by adding explicit logging of packages and dependencies that have changed.
Below I will include examples as they are implemented for open discussion
TODO
info
level logging of changes to packages in Prepare stageinfo
level logging of published packages in Publish stagedebug
trace
level logging of cargo commands executed in Publish stageinfo
log level todebug
log-level
flag that's mutually-exclusive, and overriding of, the verbosity flagExamples
Verify
Info Level
Log Level Flag
Other Changes
info
log-level to output to stdout