To have this in one place available for everyone in the team:
These are the release notes from Qiang. I have adjusted them a bit to work with composer. Added phing build to composer
and fixed the PDF guide creation.
Release Steps:
-
git pull
-
composer install
-
Change
YiiBase::getVersion()
andCHANGELOG
/UPGRADE
files about release date and version -
Run
cd build && ../vendor/bin/phing sync
, commit and push:
git commit -m "release version 1.1.18"
git push
-
git tag -s 1.1.18 -m "version 1.1.18"
(make sure you have GPG set up for signing your commits) -
git push --tags
-
Change back
YiiBase::getVersion()
, andCHANGELOG
/UPGRADE
to prepare for the next release, rebuild, commit and push:
cd build && ../vendor/bin/phing sync
git commit -m "prepare for next release"
git push
-
On a machine that can run LaTeX, i.e. pdflatex:
git clone git@github.com:yiisoft/yii.git 1.1.18 cd 1.1.18 git checkout 1.1.18 composer install cd build ../vendor/bin/phing src ../vendor/bin/phing doc ../vendor/bin/phing web cd release\dist
-
Upload source and doc release files (from
release\dist
directory) to github (create a release on github repo) -
Update https://github.com/yiisoft-contrib/yiiframework.com/blob/master/config/versions.php as instructed (download URL and version)
-
SSH to yiiframework.com, update code via
git pull
-
Write up release announcement
-
Announce on website news, twitter, and forum