NX Release config - always publish without asking #29665
-
Hey, I'm not sure if this is possible, but using NX release in our app we get the wizard, which i want to be interactive (i.e choosing the versioning strategy), it then proceeds to create the tag, and update github with the tag/release notes, all good. Then it asks if we want to publish those versions, is there a way of skipping that question and always publishing? We've had a few instances where this step has been missed (or they've said no) meaning we have tags/releases out of sync with actual packages published. Is there any magic config i can use? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I would like to know this as well! |
Beta Was this translation helpful? Give feedback.
-
Hi Folks, Did you not try running
I definitely always recommend running help on whatever Nx CLI commands you are running and want to learn more about as a first step! |
Beta Was this translation helpful? Give feedback.
-
Thanks @JamesHenry - i was aware of the option in the cli, i was just hoping there was some config i could add to Not a big one, it was more a dev-ex thing, trying to make the process as quick/foolproof as poss :) |
Beta Was this translation helpful? Give feedback.
Hi Folks,
Did you not try running
nx release --help
? It covers this opion:I definitely always recommend running help on whatever Nx CLI commands you are running and want to learn more about as a first step!