| CI publishes a SNAPSHOT of the @xwiki/platform- npm packages to https://nexus-snapshots.xwiki.org/repository/npmhosted/ on every deploy build. A feature-deploy- branch is deployed too, with a version that names the branch (e.g. 18.10.0-mybranch-SNAPSHOT), and its packages are published under the same snapshot dist-tag as master. As a result, after a build of a feature-deploy- branch, npm install @xwiki/platform-api@snapshot (or any range resolved through the snapshot dist-tag) returns the feature branch build instead of the latest master build, until the next master build moves the dist-tag back. The same happens between master and the stable- branches: the last branch to build owns the snapshot dist-tag. Expected The snapshot dist-tag only follows master. Builds of other branches use dist-tags of their own (e.g. one per branch), so that a consumer picks a branch explicitly. |