We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 221c2c8 commit e3269b6Copy full SHA for e3269b6
scripts/release.sh
@@ -6,6 +6,10 @@ VERSION=`python setup.py --version`
6
7
echo "# Releasing pyinfra v$VERSION..."
8
9
+echo "# Checking pandoc installed..."
10
+pandoc --help >/dev/null 2>&1 || (echo "pandoc is not installed!" && exit 1)
11
+python -c 'import pypandoc' >/dev/null 2>&1 || (echo "pypandoc is not installed!" && exit 1)
12
+
13
echo "# Running tests..."
14
nosetests -s
15
setup.py
@@ -64,7 +64,8 @@
64
long_description = convert_text(long_description, 'rst', 'markdown')
65
66
except (ImportError, OSError):
67
- print('Warning: pypandoc module not found, could not convert Markdown to RST')
+ # Ignore this - release.sh checks for making releases
68
+ pass
69
70
71
if __name__ == '__main__':
0 commit comments