feat(gitlab_release): python module to check if a commit message has gitlab references in the footer

#4
This commit is contained in:
2021-08-08 14:50:34 +09:30
parent d2d4ac0afa
commit 11e156619d
4 changed files with 158 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#!/usr/bin/env python3
#-*- coding: utf-8 -*-
import sys
from commits import Commits
def main():
commits = Commits()
if commits.check():
sys.exit(0)
else:
sys.exit(1)