mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 21:31:26 -07:00
Implement new changelog generator.
This commit is contained in:
parent
cef4d862bc
commit
70c475da6c
7 changed files with 853 additions and 10 deletions
14
test/sanity/code-smell/changelog.py
Executable file
14
test/sanity/code-smell/changelog.py
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
import subprocess
|
||||
|
||||
|
||||
def main():
|
||||
paths = sys.argv[1:] or sys.stdin.read().splitlines()
|
||||
cmd = ['packaging/release/changelogs/changelog.py', 'lint'] + paths
|
||||
subprocess.check_call(cmd)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Loading…
Add table
Add a link
Reference in a new issue