From b8b7c5d09ce99aa941157304c51c4a22c9cecf8f Mon Sep 17 00:00:00 2001 From: Tim Otten <totten@civicrm.org> Date: Wed, 5 Jul 2017 23:12:44 -0700 Subject: [PATCH] (4.6,4.7)-final.md - Add instructions for versions.json --- doc/4.6-final.md | 19 +++++++++++++++++-- doc/4.7-final.md | 19 +++++++++++++++++-- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/doc/4.6-final.md b/doc/4.6-final.md index b50e332..7e70433 100644 --- a/doc/4.6-final.md +++ b/doc/4.6-final.md @@ -72,9 +72,24 @@ releaser gs://civicrm-build/4.6/civicrm-4.6.28-201705030600.json --tag -f releaser gs://civicrm-build/4.6/civicrm-4.6.28-201705030600.json --publish ``` -## 4: Set default on `civicrm.org` (WIP) +## 4: Update `versions.json` -... login to `latest` and 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.6.28 --date=2017-05-03 --security=false + +## Make the change persistent. +git commit versions.json +git push origin master +``` ## 5: Bump version diff --git a/doc/4.7-final.md b/doc/4.7-final.md index 6d5b062..2595726 100644 --- a/doc/4.7-final.md +++ b/doc/4.7-final.md @@ -72,9 +72,24 @@ You might want to spot-check a few URLs to ensure the tags were published, e.g. * https://github.com/civicrm/civicrm-packages/tree/4.7.X * https://github.com/civicrm/civicrm-wordpress/tree/4.7.X -## 3: Set default on `civicrm.org` (WIP) +## 3: Update `versions.json` -... login to `latest` and 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 +``` ## 4: Set default on `sourceforge.net` -- GitLab