added make_release.sh script

This commit is contained in:
Pablo Hoffman 2009-09-17 11:46:47 -03:00
parent 6e10914454
commit 6845505e7a
1 changed files with 20 additions and 0 deletions

20
extras/make_release.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/sh
# Script to make a Scrapy release. To be run from root dir in Scrapy
# distribution.
# clean repo
hg purge --all
# build packages
version=$(python -c "import scrapy; print scrapy.__version__")
python setup.py sdist bdist_wininst -t "Scrapy $version" -p "win32"
# hash and sign
cd dist
md5sum scrapy-$version* > MD5SUMS
sha1sum scrapy-$version* > SHA1SUMS
gpg -ba MD5SUMS
gpg -ba SHA1SUMS
# list files created
ls -l