Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #31

Merged
merged 2 commits into from
Dec 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions scripts/release_helper/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,8 @@ def output_python(self, item):
self.date_from_target
)

def push_md_to_storage(self):
with open('release_js_status.md','r') as f :
print(f.read(),'++++++++++++++++++')
@staticmethod
def push_md_to_storage():
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]

Expand All @@ -263,8 +262,7 @@ def run(self):
except Exception as e:
_LOG.error(f'Error happened during handling issue {item.issue.number}: {e}')
self.output_md(items)
print(os.listdir('.'),os.getcwd(),'+++++++++++')
self.push_md_to_storage()



def common_process(issues: List[IssuePackage]):
Expand Down
3 changes: 2 additions & 1 deletion scripts/release_helper/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from go import go_process
from java import java_process
from js import js_process
from common import common_process
from common import common_process, Common

import os
from typing import List
Expand Down Expand Up @@ -54,6 +54,7 @@ def main():
for language in languages:
language_issues = select_language_issues(issues, language)
languages[language](language_issues)
Common.push_md_to_storage()


if __name__ == '__main__':
Expand Down