allow archives for rc releases to be built (closes #22484)

This commit is contained in:
Benjamin Peterson 2014-09-24 20:22:24 -04:00
parent b5dc3dcb92
commit d1a4f99159
1 changed files with 3 additions and 2 deletions

View File

@ -165,9 +165,10 @@ autobuild-dev:
autobuild-html: autobuild-html:
make html SPHINXOPTS='-A daily=1 -A versionswitcher=1' 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: autobuild-stable:
@case $(DISTVERSION) in *[abc]*) \ @case $(DISTVERSION) in *[ab]*) \
echo "Not building; $(DISTVERSION) is not a release version."; \ echo "Not building; $(DISTVERSION) is not a release version."; \
exit 1;; \ exit 1;; \
esac esac