[Python-checkins] cpython (2.7): allow archives for rc releases to be built (closes #22484)

benjamin.peterson python-checkins at python.org
Thu Sep 25 02:23:14 CEST 2014


https://hg.python.org/cpython/rev/22a46f05ce23
changeset:   92571:22a46f05ce23
branch:      2.7
parent:      92558:be2746c565c2
user:        Benjamin Peterson <benjamin at python.org>
date:        Wed Sep 24 20:22:24 2014 -0400
summary:
  allow archives for rc releases to be built (closes #22484)

files:
  Doc/Makefile |  5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)


diff --git a/Doc/Makefile b/Doc/Makefile
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -165,9 +165,10 @@
 autobuild-html:
 	make html SPHINXOPTS='-A daily=1 -A versionswitcher=1'
 
-# for stable releases: only build if not in pre-release stage (alpha, beta, rc)
+# for stable releases: only build if not in pre-release stage (alpha, beta)
+# release candidate downloads are okay, since the stable tree can be in that stage
 autobuild-stable:
-	@case $(DISTVERSION) in *[abc]*) \
+	@case $(DISTVERSION) in *[ab]*) \
 		echo "Not building; $(DISTVERSION) is not a release version."; \
 		exit 1;; \
 	esac

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list