Created
September 28, 2013 04:08
-
-
Save guixing/6738273 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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