diff --git a/doc/4.6-final.md b/doc/4.6-final.md index b50e332f68ce774fe942320958735474ee9a7abf..7e70433cfb33ea4aaad2f1a56f604c42acd89b66 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 6d5b0620bedb51446ef675772206d469717a5212..2595726df08381d9ece151235b5b7f586ee4321c 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`