Merge "always build release notes from master"

This commit is contained in:
Jenkins 2016-03-08 19:15:43 +00:00 committed by Gerrit Code Review
commit 69083f40f5
1 changed files with 15 additions and 0 deletions

View File

@ -74,6 +74,21 @@
- revoke-sudo
- branch-git-prep:
branch: master
- shell: |
#!/bin/bash -xe
#
# When building the release notes after a patch merges we
# always want to build from master. Reno will find release
# notes on other branches and insert them into the right
# places in the documentation build, but only master has all
# of the appropriate branch-specific input files for
# Sphinx. The branch-git-prep builder checks out the
# repository where the current patch just merged, but it
# honors zuul configuration variables that may cause it to
# check out a patch merged into a stable branch. So, reset
# what we've checked out to master.
#
git checkout origin/master
- tox:
envlist: 'releasenotes'