Correct plugin usage? #730
DavidReinberger
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've added this plugin to our project, however it does not work as expected, the probable cause is that I'm using it wrong, my setup is currently as follows.
NX_BASEfor current environment (rctag) - gets all projects, then uses git to find the "oldest" between the projects (eg if you have 3 projects, and 1 was updated 10 commits before the current its going to take that tag), why? To allow for skipping pipelines when more MR are merged, thereforeHEAD~1is not an acceptable strategynpx nx affected --exclude="packages/**" --parallel=false -t version --releaseAs=prerelease --preid=rc --skipProjectChangelog=truenpx nx affected --exclude="apps/**" --parallel=false -t versionThe process for "non-rc" version is basically the same and runs manually from the same commit with these differences in
3.and5.and skips6.NX_BASEprocess is almost the same, but is looking for "non-rc` tags--releaseAs=prerelease --preid=rc --skipProjectChangelog=trueflags.My issue is that the changelog is not being generated properly (eg. there are no changes), my idea is to have all the changes from the
rcversions to be included in the "non-prerelease/rc" version, currently is not (even whenskipProjectChangelogis set tofalse).Can anybody please help me or point me towards what am I doing wrong? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions