Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2733

Issue with the release script (bin/release.py)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 5.2.0.CR3
    • 5.2.0.CR1
    • None
    • None

    Description

      I get the following exception when running the release script:

      [INFO] Step 6: Uploading Artifacts
      Traceback (most recent call last):
      File "./bin/release.py", line 367, in <module>
      release()
      File "./bin/release.py", line 332, in release
      do_task(upload_artifacts, [base_dir % "as-modules", version], async_processes)
      TypeError: not all arguments converted during string formatting

      Seems like there's an incorrect string concatenation at line 332:

        do_task(upload_artifacts, [base_dir % "as-modules", version], async_processes)
      

      Using string concatenation seems to solve the problem:

      do_task(upload_artifacts, [base_dir + "/as-modules", version], async_processes)
      

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            mircea.markus Mircea Markus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: