Ant Build Commons are nice but not documented.
ant clean package sudo pear upgrade --alldeps build/dist/PHP_CodeSniffer_Standards_BestOfMedia-X.Y.Zsnapshot1234567890.tgz
You need to store credential outside of the project in your home directory since we don't want to publish our credentials on GitHub.
Simply edit: ~/.ant-build-commons/global.properties
remote.shell.credentials = yourusername@yourremothostname pirum.root = /path/to/yourpirumdir
Ensure that you can connect passwordlessly on pirum using: ssh yourusername@yourremothostname
You can use ssh-copy-id for that.
ant clean package:release pirum scm:tag
You can now start a new release version
ant clean version:version scm:commit -Dscm.message="New version"
ant clean package pirum