-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Continuous Integration
-
Tags:
-
Sprint:nxplatform #50
The script nxNapps.groovy is buggy in the following situation:
- we released nuxeo retention addon v2021.1 (https://jenkins.napps.dev.nuxeo.com/job/nuxeo/job/release/job/lts-2021/job/nuxeo-retention/6/) it replaces s/2021.1-SNAPSHOT/2021.2-SNAPSHOT in the pom file
- next build of the addon created the v2021.2-rc.0 tag as next candidate release (https://jenkins.napps.dev.nuxeo.com/job/nuxeo/job/nuxeo-retention/job/lts-2021/13/consoleFull)
- following build https://jenkins.napps.dev.nuxeo.com/job/nuxeo/job/nuxeo-retention/job/lts-2021/14/console was not able to compute next release candidate version from v2021.2-rc.0 because the command
npx --ignore-existing semver -i prerelease --preid rc v2021.2-rc.0
was not able to compute next version. As a matter of fact, v2021.2-rc.0 is not a valid semantic version, it misses a patch i.e. v2021.2.0-rc.0