Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3071

determine_version.py returns 3.13.0a on the 3.12.x branch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.12.3
    • Fix Version/s: 3.12.3
    • Labels:
      None

      Description

      [vpodzime@vpodzime-laptop core (3.12.x)]$ misc/determine-version.py 
      determine-version.py: REV        = HEAD
      determine-version.py: full_rev   = 04a2d994963b343b02279e7f08e48d7ed6b30a0f
      determine-version.py: abbrev_rev = 04a2d9949
      determine-version.py: exact_tag  = not found
      determine-version.py: recent_tag = 3.12.2
      determine-version.py: recent_rev = 26a067f810a929892e7440a6aa8b0bdb93e7e182
      determine-version.py: recent_version =  (u'3', u'12', u'2', u'')
      determine-version.py: Detected that we are NOT in master branch, but in [upstream/3.12.x]
      determine-version.py: all_tags   = [(u'3', u'12', u'2', u'-build5'), (u'3', u'12', u'2', u'-build4'), (u'3', u'12', u'2', u'-build3'), (u'3', u'12', u'2', u'-2')]
      determine-version.py: SUCCESS, version detected is: 3.13.0a.04a2d9949
      3.13.0a.04a2d9949
      

      The reason for this is that the 3.12.2-2 and some other tags were added later than the 3.12.2 tag, on the 3.12.2-x branch. For determine_version.py that means it should increment the patch version.

        Attachments

          Activity

            People

            • Assignee:
              vpodzime Vratislav Podzimek
              Reporter:
              vpodzime Vratislav Podzimek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel