Skip to content

Instantly share code, notes, and snippets.

@archerslaw
Forked from guixing/jenkins-build.sh
Created September 28, 2013 04:08
Show Gist options
  • Save archerslaw/6738276 to your computer and use it in GitHub Desktop.
Save archerslaw/6738276 to your computer and use it in GitHub Desktop.
target=/var/www/html/deploy/package/wordpress-$WP_VERSION.tgz
md5file=$target.md5
tar zcvf $target wordpress-$WP_VERSION
md5sum $target | cut -d\ -f 1 > $md5file
echo $WP_VERSION > /var/www/html/deploy/lastver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment