Publish the Distribution Binaries

Distributions need to be moved from the staging location /www/people.apache.org/builds/portals-pluto to the the production location: /www/www.apache.org/dist/portals/pluto/. Under /www/www.apache.org/dist/portals/pluto/ you will see a directory structure similar to this:

.
|-- BINARIES
|   |-- v1.0.1
|   |-- v1.1.0
|   |-- v1.1.0-beta1
|   `-- v1.1.0-beta2
|-- SOURCES
|   |-- v1.0.1
|   |-- v1.1.0
|   |-- v1.1.0-beta1
|   `-- v1.1.0-beta2
`-- images
  1. Make a directory for the version you are creating under BINARIES and SOURCES

2. Copy binaries from the staging directory (/www/people.apache.org/builds/portals-pluto) to the BINARIES/<version> directory.

3. Copy sources from the staging directory to the SOURCES/<version> directory.

4. Update the symlinks to point to the latest release by removing the existing symlinks and recreating them. I use the following:

for file in BINARIES/v1.1.0/* ; do lnname=`basename $file | sed -e 's/1.1.0/current/'` ; ln -s $file $lnname ; done
for file in SOURCES/v1.1.0/* ; do lnname=`basename $file | sed -e 's/1.1.0/current/'` ; ln -s $file $lnname ; done

5. Make sure the KEYS file in /www/www.apache.org/dist/portals/pluto/KEYS is up to date.

6. Update the /www/www.apache.org/dist/portals/pluto/HEADER.html file with the latest version.

  • No labels