Uploaded image for project: 'releng'
  1. releng
  2. RELENG-81

Improve autorelease-version-bump job to handle branch-cutting

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • Autorelease
    • None

      The version-bump job currently is only useful for the release workflow but does not handle branch-cutting type of version bumping. We should improve the job-template [0] to have a switch for either:

      1) Release mode Runs:

      lftools version release "$RELEASE_TAG"
      lftools version bump "$RELEASE_TAG"
      

      2) Branch cutting mode Runs:

      lftools version bump "$RELEASE_TAG"
      

      Another issue we'd have to deal with is the line where we run `git checkout -b branch stream/branch`. When run against the master branch doing this causes an error because we're already on the master branch.

      [0] https://github.com/opendaylight/releng-builder/blob/master/jjb/autorelease/autorelease-templates.yaml#L212-L271

            abelur Anil Belur
            zxiiro Thanh Ha (zxiiro)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: