summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2018-01-16 17:02:40 +0000
committerStephen Finucane <sfinucan@redhat.com>2018-06-28 15:06:46 +0100
commitde4ab973d50aa1d26b15a27f909a2c56973a0567 (patch)
tree0c0cd0a705e577727e28f7a52bdfd110747e92ac /tools
parentd28a0b5f84e6a529a66a8423944076adf644e3e2 (diff)
downloadnova-de4ab973d50aa1d26b15a27f909a2c56973a0567.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/f8fc8f97ff20026582742e3e7838cdd0ed5cad68 Change-Id: I66ba0e0835970b965acce00ba69d143bd4471037
Diffstat (limited to 'tools')
-rwxr-xr-xtools/releasenotes_tox.sh28
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/releasenotes_tox.sh b/tools/releasenotes_tox.sh
deleted file mode 100755
index fc64b9950b..0000000000
--- a/tools/releasenotes_tox.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}