forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update from mordamax running command 'prdoc --pr 5931 --audience runt…
…ime_user runtime_dev --bump major --force'
- Loading branch information
1 parent
dfd3e89
commit 6dd274e
Showing
1 changed file
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
title: fix regex, improve prdoc generation inputs | ||
doc: | ||
- audience: | ||
- Node Dev | ||
- Runtime User | ||
- Runtime Dev | ||
description: |- | ||
Closes https://github.com/paritytech/polkadot-sdk/issues/5927 | ||
Related to https://github.com/paritytech/polkadot-sdk/pull/5924#issuecomment-2393558697 | ||
|
||
1. Allow quotes + better sanitize the inputs | ||
2. improve prdoc arguments validation & help | ||
3. support more than one audiences | ||
improve prdoc arguments validation & help: | ||
- convert audiences options to snake_case + allow defining multiple options | ||
- support more than one audiences | ||
- define allowed bump options | ||
- infer --pr from the actual PR (now it's optional, can still be overwritten) | ||
|
||
![image](https://github.com/user-attachments/assets/24e18fe2-2f67-4ce0-90e4-34f6c2f860c9) | ||
crates: [] |