Skip to content

Instantly share code, notes, and snippets.

@khsing
Created September 28, 2013 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khsing/6738270 to your computer and use it in GitHub Desktop.
Save khsing/6738270 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