Skip to content
Snippets Groups Projects

CiviCRM v4.7.x: Publish a final release

WARNING: Not updated since 5.x

Prerequisites

See Prerequisites

1: Sanity checks

2: Identify the final RC

Determine the identity of the final release candidate:

gsutil ls gs://civicrm-build/*rc/*json

For example, we might pick gs://civicrm-build/4.7.19-rc/civicrm-4.7.19-201705030600.json.

3: Publish

You can do the full process in one command:

cd ~/src/4.7
releaser gs://civicrm-build/4.7.19-rc/civicrm-4.7.19-201705030600.json --get --sign --tag --publish

or do the steps individually:

cd ~/src/4.7

## Download and rename the RC tarballs
releaser gs://civicrm-build/4.7.19-rc/civicrm-4.7.19-201705030600.json --get

## Generate signatures for tarballs
releaser gs://civicrm-build/4.7.19-rc/civicrm-4.7.19-201705030600.json --sign

## Generate tags in each repo (dry run)
releaser gs://civicrm-build/4.7.19-rc/civicrm-4.7.19-201705030600.json --tag -n

## Publish tarballs to Sourceforge and Gcloud (dry run)
releaser gs://civicrm-build/4.7.19-rc/civicrm-4.7.19-201705030600.json --publish -n

## Generate tags in each repo (really)
releaser gs://civicrm-build/4.7.19-rc/civicrm-4.7.19-201705030600.json --tag -f

## Publish tarballs to Sourceforge and Gcloud (really)
releaser gs://civicrm-build/4.7.19-rc/civicrm-4.7.19-201705030600.json --publish

You might want to spot-check a few URLs to ensure the tags were published, e.g.

4: Update versions.json

Services such as the civicrm.org download page and the in-app version check depend on a file named versions.json. Update this.

## Find and examine the current list of releases.
cd /var/www/latest.civicrm.org/public/
ls -la versions.json
./bin/pb release:list

## Add the new release. Be sure to adjust versions/dates.
./bin/pb release:add 4.7.19 --date=2017-05-03 --security=false

## Make the change persistent.
git commit versions.json
git push origin master

5: Set default on sourceforge.net

Log into https://sourceforge.net/projects/civicrm/files/civicrm-stable and set the latest Drupal version to be the default download.

Eg: After 4.6.8 release, go to https://sourceforge.net/projects/civicrm/files/civicrm-stable/4.6.8/ . Click on "i" for civicrm-4.6.8-drupal.tar.gz, then select all "Default Download For" and "Save".

Marking a default release in SourceForge

Note that it takes some time to reflect default download on sf.net