\documentclass{article}
\usepackage{ulem}
\usepackage{graphicx}
\usepackage{hyperref}
\pagestyle{headings}
\begin{document}
\part{Building and releasing a Package}
Commands used to release a package to <a href="http://pear.horde.org/">pear.horde.org</a>.

<pre><code class="language-sh">
components/bin/horde-components release [--pretend]

git push
git push --tags
</code></pre>
Bash magic to find out the changes in all packages since their last release:

<pre><code class="language-sh">
for p in [[:upper:]]*; do cd \$p; git checkout FRAMEWORK\_5\_2; v=\$(git tag -l | sort -V | tail -1); if [ -n "\$v" ]; then git diff \$v...; fi; cd -; done
</code></pre>
\end{document}
