Skip to content

Commit

Permalink
Update from mordamax running command 'prdoc --pr 5931 --audience runt…
Browse files Browse the repository at this point in the history
…ime_user runtime_dev --bump major --force'
  • Loading branch information
actions-user committed Oct 4, 2024
1 parent dfd3e89 commit 6dd274e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions prdoc/pr_5931.prdoc
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: []

0 comments on commit 6dd274e

Please sign in to comment.