Skip to content

Commit

Permalink
Merge pull request #30 from RAY-316/helper-update-2
Browse files Browse the repository at this point in the history
reHelper update 2
  • Loading branch information
RAY-316 authored Dec 1, 2021
2 parents 46c273e + d5ca1dc commit 8a44300
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/release_helper/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,19 @@ def output_python(self, item):
)

def push_md_to_storage(self):
with open('release_go_status.md','r') as f :
print(f.read())
cmd_list = ['git add .', 'git commit -m \"update excel\"', 'git push -f origin HEAD']
[sp.check_call(cmd, shell=True) for cmd in cmd_list]

def traversal_files(self,path):
for dir in os.listdir(path):
dir = os.path.join(path, dir)
print(dir)
# 判断当前目录是否为文件夹
if os.path.isdir(dir):
self.traversal_files(dir)

def run(self):
items = []
for item in self.issues_package:
Expand Down

0 comments on commit 8a44300

Please sign in to comment.