Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-999

When GIT tag cannot be created release succeeds but version tagged is not overriden

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      We run release for a tag that already existed in GIT, as we had been testing the release process and we forgot to delete the tags.

      When running the release plugin we got a successful execution. However, as the tag already existed it wasn't overwritten and we released the wrong version, the one that already existed in that old tag. We would expect the release plugin to break if the tag cannot be overridden so that it doesn't become a case of looking through thousand lines of code to check.

      Logs were:

      And after a while the old tag was checked out and released:

        Attachments

        1. image-2018-02-22-10-11-43-062.png
          26 kB
          Blanca Rojo Martin
        2. image-2018-02-22-10-10-50-833.png
          52 kB
          Blanca Rojo Martin

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Blarojo Blanca Rojo Martin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: