switch changelog management to towncrier
This commit is contained in:
@@ -11,10 +11,10 @@ from __future__ import print_function
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
from check_manifest import main
|
||||
|
||||
if os.path.isdir('.git'):
|
||||
sys.exit(subprocess.call('check-manifest', shell=True))
|
||||
sys.exit(main())
|
||||
else:
|
||||
print('No .git directory found, skipping checking the manifest file')
|
||||
sys.exit(0)
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import subprocess
|
||||
import glob
|
||||
import sys
|
||||
|
||||
sys.exit(subprocess.call([
|
||||
'rst-lint', '--encoding', 'utf-8',
|
||||
'CHANGELOG.rst', 'HOWTORELEASE.rst', 'README.rst',
|
||||
] + glob.glob('changelog/[0-9]*.*')))
|
||||
Reference in New Issue
Block a user