Skip to content

Commit

Permalink
Require that docs build before tagging & releasing
Browse files Browse the repository at this point in the history
  • Loading branch information
carver committed Jul 17, 2019
1 parent 706bc86 commit 7cccbf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ release: clean
$(eval UPCOMING_VERSION=$(shell bumpversion $(bump) --dry-run --list | grep new_version= | sed 's/new_version=//g'))
# Now generate the release notes to have them included in the release commit
towncrier --yes --version $(UPCOMING_VERSION)
# Before we bump the version, make sure that the towncrier-generated docs will build
make build-docs
# We need --allow-dirty because of the generated release_notes file but it is safe because the
# previous dry-run runs *without* --allow-dirty which ensures it's really just the release notes
# file that we are allowing to sit here dirty, waiting to get included in the release commit.
Expand Down
1 change: 1 addition & 0 deletions newsfragments/806.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Require that docs build before tagging & publishing a release

0 comments on commit 7cccbf7

Please sign in to comment.