Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: support
dry-run
in ghpr create
#8376feat: support
dry-run
in ghpr create
#8376Changes from 3 commits
5d592bc
4ef8f18
e545c7d
e1f6218
da237bd
01f53b1
efe5a90
0735048
40747c1
da98ae3
80934f4
b98454a
9dac924
0983394
37237af
17407aa
709eb6c
f462938
af3344b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
As far as I can tell, the main difference between these two branches is the printing of the "draft" state, and the markdown rendering. Is the markdown rendering important enough to diverge here?
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.
I used the same principles done in some other places, such as
cli/pkg/cmd/release/view/view.go
Lines 118 to 126 in 8948ee8
If tty, then
cli/pkg/cmd/release/view/view.go
Lines 147 to 149 in 8948ee8
Otherwise:
cli/pkg/cmd/release/view/view.go
Lines 190 to 193 in 8948ee8
IMO, I prefer the same output regardless of the command.