• Joerg Bruehe's avatar
    Handle the two part version number of cluster builds · d6e40e10
    Joerg Bruehe authored
    (general server part + NDB part)
    automatically when creating a binary package,
    include only the NDBpart in the package (file) name.
    
    scripts/make_binary_distribution.sh:
      The "version" string of a cluster build contains information
      about both the general server part and the NDB part.
      This is intentional, but it isn't suitable for the package file name.
      
      When packaging a binary build, the script now detects whether
      it is dealing with a cluster build or not.
      If it is a cluster build, the script now removes the server part
      from the version number, leaving the NDB part.
      
      Example:  "5.1.31-ndb-6.4.2"  ->  "6.4.2"
      so packages are named like
                "mysql-cluster-gpl-6.4.2-linux-i686-glibc23.tar.gz"
    d6e40e10
make_binary_distribution.sh 15.8 KB