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
-
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_BASE
for current environment (rc
tag) - 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~1
is not an acceptable strategynpx nx affected --exclude="packages/**" --parallel=false -t version --releaseAs=prerelease --preid=rc --skipProjectChangelog=true
npx nx affected --exclude="apps/**" --parallel=false -t version
The 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_BASE
process is almost the same, but is looking for "non-rc` tags--releaseAs=prerelease --preid=rc --skipProjectChangelog=true
flags.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
rc
versions to be included in the "non-prerelease/rc" version, currently is not (even whenskipProjectChangelog
is 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