Enhance nx release
with --exclude
option to filter by tag (like nx affected / nx show)
#23361
mklueh
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was using semver before nx release, running it with
nx affected
.This allowed me to enhance my projects with tags, depending on if they are
live
or indevelopment
, influencing if they should be release to production or just the staging environment, or none at all.But it's hard to achieve that with
nx release
.I tried to build a hackaround by using
nx show --affected --exclude
to first determine the projects that match the tag for the specific branchand called this
However, it seems the
--json
flag produces internal errors, corrupting the output and making it unusableLeading to a failure of the script
So I'd appreciate adding this flag to
nx release
to have better control over projects in a standardized way, like the other commands´I'm very well aware, that you can control what is getting released, by using the release config in
nx.json
, but as the build is also controlled by these tags(by using nx affected --exclude) one would have to maintain two separate configurations.Beta Was this translation helpful? Give feedback.
All reactions