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

Remove any potential issue in tag numbering for Align marketplace packages

    XMLWordPrintable

    Details

      Description

      NEXT_TAG=$(printf "%02d" $(($(expr ${CURRENT_TAG}) + 1)))
      

      The expr expression can show an odd behavior when the value of CURRENT_TAG is 08 depending on the OS and especially on linuces.

      Using the alternate BASH expression will avoid this:

      NEXT_TAG=$(printf "%02d" $(( ${CURRENT_TAG#"${CURRENT_TAG%%[!0]*}"} + 1)))
      

        Attachments

          Activity

            People

            • Assignee:
              ffischer Frantz Fischer
              Reporter:
              ffischer Frantz Fischer
              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 - 30 minutes
                30m