mirror of https://github.com/scrapy/scrapy.git
splitted make_release.sh in: build_release.sh and sign_release.sh
--HG-- rename : extras/make_release.sh => extras/build_release.sh
This commit is contained in:
parent
504293b8c4
commit
7428e4cebf
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
# Script to make a Scrapy release. To be run from root dir in Scrapy
|
||||
# Script to build a Scrapy release. To be run from root dir in Scrapy
|
||||
# distribution.
|
||||
|
||||
# clean repo
|
||||
|
|
@ -9,14 +9,6 @@ hg purge --all
|
|||
version=$(python -c "import scrapy; print scrapy.__version__")
|
||||
python setup.py sdist
|
||||
# FIXME: bdist_wininst doesn't work on Unix (it doesn't include the data_files)
|
||||
# To build the win32 release you need to use Windows for now.
|
||||
#python setup.py 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
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
# Script to sign a Scrapy release. To be run from root dir in Scrapy
|
||||
# distribution.
|
||||
|
||||
cd dist
|
||||
md5sum scrapy-$version* > MD5SUMS
|
||||
sha1sum scrapy-$version* > SHA1SUMS
|
||||
gpg -ba MD5SUMS
|
||||
gpg -ba SHA1SUMS
|
||||
|
||||
# list files created
|
||||
ls -l
|
||||
Loading…
Reference in New Issue