This is the main Git repository of SocialEngine PHP v4.
- Checkout the previous tag in a separate directory. e.g. engine4-460
- Perform a recursive diff between the engine4 and the tag directory. On Windows, WinMerge works great. Meld works for Linux.
- For each of the packages (application/libraries/* application/modules/* application/themes/* application/widgets/* externals/* application/settings/ install/config etc):
- If files were modified, increment the version.
- For modules, increment the version in both settings/my.sql and manifest.php. Typically I increment the version to the current main release version, as opposed to incrementing them following SemVer individually.
- If requirements for the package changed, modify them in the manifest
- For all package types except modules, add the changelog to the manifest.php
- For modules, run php development/build_changelog_skeleton.php to generate a list of changed files. They'll be added to settings/changelog.php with added/removed/different. Replace the messages with a more descriptive message.
- For modules, a special sql file needs to be made to apply any database changes in the format {previousVersion}-{newVersion} See any of the existing modules settings folders for reference.
- Commit the changed files to subversion
- Run php development/build_distribution_git.php It should prompt you for some information. Note that it was developed using GnuWin32 and there was an issue with the tar command on OS X and the tar library we use.
- Packages should be output into {outputDir}/release
- Test an upgrade and a full install
- Delete any packages for which the version did not change
- Upload the files to the se4-downloads bucket on our s3 account
- Edit each product in the awesome panel to have the correct version
- If any themes were changed, they must be released separately.
- The theme packages will be output into {outputDir}/(some other folder)
- Tar them into one file (make sure they're in the root directory of the tar, OS X's program will not work correctly, command line might work, 7-zip works fine)
- Upload them to the correct KB article on support.socialengine.com: http://support.socialengine.com/questions/215/Updating-Themes
- Install the ionCube Encoder (need the command line tools)
- Run php development/build_trial_encrypted.php
- Test it
- Upload to the downloads bucket on our s3 account
- Edit the trial filename in the awesome panel under System Settings