Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21555

release.py must not remove the newline at end of file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Detail
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Postponed
    • Component/s: Dev Tools

      Description

      The script release.py is used for releasing a new version of a target Nuxeo project. It works fine. However, this script deletes automatically the newline at end of file, which is not desired, as you can see in the below Git log or here.

      $ git log -p
      commit f650d3044e0d1a0623029a0b271a8aeb32a3131c
      Author: Jenkins Nuxeo <jenkins@nuxeo.com>
      Date:   Tue Jan 31 14:55:15 2017 +0000
      
          Post release 8.10
          Update 8.10-SNAPSHOT to 9.1-SNAPSHOT
      
      diff --git a/nuxeo-agenda-core/pom.xml b/nuxeo-agenda-core/pom.xml
      index 3187603..11df8c2 100644
      --- a/nuxeo-agenda-core/pom.xml
      +++ b/nuxeo-agenda-core/pom.xml
      @@ -3,7 +3,7 @@
         <parent>
           <groupId>org.nuxeo.ecm.platform</groupId>
           <artifactId>nuxeo-agenda-parent</artifactId>
      -    <version>8.10-SNAPSHOT</version>
      +    <version>9.1-SNAPSHOT</version>
         </parent>
       
         <artifactId>nuxeo-agenda-core</artifactId>
      @@ -93,4 +93,4 @@
           </dependency>
         </dependencies>
       
      -</project>
      +</project>
      \ No newline at end of file
      ...
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: