Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3376

Update Semver in Napps Builders Images

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Jenkins X
    • Environment:
      Docker
      Kubernetes

      Description

      The default version of Semver is too old
      and cannot compute release candidate version for Aspera

      for example

       

      10:56:01  + npx semver -i prerelease --preid rc v3.0.0-rc.0
      10:56:01  + tr -d '
      10:56:01  '
      10:56:01  Usage:
      10:56:01    semver bump (major|minor|patch|release|prerel <prerel>|build <build>) <version>
      10:56:01    semver compare <version> <other_version>
      10:56:01    semver get (major|minor|patch|release|prerel|build) <version>
      10:56:01    semver --help
      10:56:01    semver --version
      10:56:01  
      10:56:01  Arguments:
      10:56:01    <version>  A version must match the following regular expression:
      10:56:01               "^[vV]?(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(\-(0|[1-9][0-9]*|[0-9]*[A-Za-z-][0-9A-Za-z-]*)(\.(0|[1-9][0-9]*|[0-9]*[A-Za-z-][0-9A-Za-z-]*))*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?$"
      10:56:01               In English:
      10:56:01               -- The version must match X.Y.Z[-PRERELEASE][+BUILD]
      10:56:01                  where X, Y and Z are non-negative integers.
      10:56:01               -- PRERELEASE is a dot separated sequence of non-negative integers and/or
      10:56:01                  identifiers composed of alphanumeric characters and hyphens (with
      10:56:01                  at least one non-digit). Numeric identifiers must not have leading
      10:56:01                  zeros. A hyphen ("-") introduces this optional part.
      10:56:01               -- BUILD is a dot separated sequence of identifiers composed of alphanumeric
      10:56:01                  characters and hyphens. A plus ("+") introduces this optional part.
      10:56:01  
      10:56:01    <other_version>  See <version> definition.
      10:56:01  
      10:56:01    <prerel>  A string as defined by PRERELEASE above.
      10:56:01  
      10:56:01    <build>   A string as defined by BUILD above.
      10:56:01  
      10:56:01  Options:
      10:56:01    -v, --version          Print the version of this tool.
      10:56:01    -h, --help             Print this help message.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aba Abdoul Ba
                Reporter:
                aba Abdoul Ba
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h

                    PagerDuty