From 4262a0af8c3f02d7487bd4d495a904e649e9e7b0 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Mon, 14 Jun 2010 09:49:07 -0300 Subject: [PATCH] moved sign_release.sh code to Makefile --- Makefile | 9 ++++++++- extras/sign_release.sh | 12 ------------ 2 files changed, 8 insertions(+), 13 deletions(-) delete mode 100755 extras/sign_release.sh diff --git a/Makefile b/Makefile index df50ed77b..6a777dfc2 100644 --- a/Makefile +++ b/Makefile @@ -7,11 +7,12 @@ BUILDDIR ?= $(BUILDBASE)/scrapy_$(FULL_VERSION).orig BUILDTAR ?= $(BUILDBASE)/scrapy_$(FULL_VERSION).orig.tar.gz help: - @echo 'Commonly used make targets:' + @echo 'Available targets:' @echo ' deb-binary - build debian binary package' @echo ' deb-source - build debian source package' @echo ' deb-all - build source and binary debian packages' @echo ' tarball - build source tarball' + @echo ' sign - sign release' deb-binary: deb-prepare cd $(BUILDDIR); debuild -i -us -uc -b @@ -35,3 +36,9 @@ deb-prepare: tarball: python setup.py sdist + +sign: + md5sum dist/Scrapy-* > dist/MD5SUMS + sha1sum dist/Scrapy-* > dist/SHA1SUMS + gpg -ba dist/MD5SUMS + gpg -ba dist/SHA1SUMS diff --git a/extras/sign_release.sh b/extras/sign_release.sh deleted file mode 100755 index 6aac50987..000000000 --- a/extras/sign_release.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# Script to sign a Scrapy release. To be run from root dir in Scrapy -# distribution. - -cd dist -md5sum Scrapy-* > MD5SUMS -sha1sum Scrapy-* > SHA1SUMS -gpg -ba MD5SUMS -gpg -ba SHA1SUMS - -# list files created -ls -l