From 871d6584f28a055300ab3830086f7e41b25a626c Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Tue, 7 Jun 2016 17:13:02 +0200 Subject: [PATCH] release.sh: learn users how to get the requirements file for pip Signed-off-by: Nicolas Sebrecht --- contrib/release.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/release.sh b/contrib/release.sh index 9619447..01aee9b 100755 --- a/contrib/release.sh +++ b/contrib/release.sh @@ -21,6 +21,7 @@ __VERSION__='v0.3' SPHINXBUILD=sphinx-build MAILING_LIST='offlineimap-project@lists.alioth.debian.org' +GITHUB_FILE_LINK_PREFIX='https://raw.githubusercontent.com/OfflineIMAP/offlineimap' DOCSDIR='docs' ANNOUNCE_MAGIC='#### Notes ' @@ -374,7 +375,8 @@ Downloads: http://github.com/OfflineIMAP/offlineimap/archive/${1}.zip Pip: - pip install -r requirements.txt --user git+https://github.com/OfflineIMAP/offlineimap.git@${1} + wget "${GITHUB_FILE_LINK_PREFIX}/${1}/requirements.txt" -O requirements.txt + pip install -r ./requirements.txt --user git+https://github.com/OfflineIMAP/offlineimap.git@${1} EOF }