set Makefile / VERSION to the desired release version number
set core/CAT.php constants VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, VERSION_EXTRA and RELEASE_VERSION to the desired version and TRUE
copy repo into a new directory, and change into that directory ("build dir")
ensure that transifex-client "tx" is well configured on the system
run "make distribution"