summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2018-05-03 10:22:44 +0100
committerStephen Finucane <sfinucan@redhat.com>2018-07-18 10:12:04 +0100
commit8b727ce92957045167a13ce0a8292b83bef504db (patch)
tree63bad37c9f2cf367edb335dd35afcb3cc26627ec /tools
parent3dc5ae566bd5b5b6824d0127142211022f378097 (diff)
downloadpbr-8b727ce92957045167a13ce0a8292b83bef504db.tar.gz
trivial: Remove 'tools/releasenotes_tox.sh'
This is not needed since reno 2.1.0 (commit f8fc8f97) [1]. [1] https://github.com/openstack/reno/commit/f8fc8f97 Change-Id: I335bba8c8bf4f2d73aba32ae762607e67ee3814c Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/tox_releasenotes.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/tox_releasenotes.sh b/tools/tox_releasenotes.sh
deleted file mode 100755
index fc64b99..0000000
--- a/tools/tox_releasenotes.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env bash
-
-rm -rf releasenotes/build
-
-sphinx-build -a -E -W \
- -d releasenotes/build/doctrees \
- -b html \
- releasenotes/source releasenotes/build/html
-BUILD_RESULT=$?
-
-UNCOMMITTED_NOTES=$(git status --porcelain | \
- awk '$1 ~ "M|A|??" && $2 ~ /releasenotes\/notes/ {print $2}')
-
-if [ "${UNCOMMITTED_NOTES}" ]
-then
- cat <<EOF
-
-REMINDER: The following changes to release notes have not been committed:
-
-${UNCOMMITTED_NOTES}
-
-While that may be intentional, keep in mind that release notes are built from
-committed changes, not the working directory.
-
-EOF
-fi
-
-exit ${BUILD_RESULT}