Fix update.py
This commit is contained in:
@@ -90,7 +90,8 @@ def main():
|
||||
temp_note_fd, temp_note_name = mkstemp()
|
||||
with open(temp_note_fd, 'w', encoding='utf-8') as f:
|
||||
f.write(tag + '\n\n```diff' + diff + '\n```')
|
||||
zip_path = _file_path('dist', f'#holiday-cn-{tag}.zip')
|
||||
os.makedirs(_file_path('dist'), exist_ok=True)
|
||||
zip_path = _file_path('dist', f'holiday-cn-{tag}.zip')
|
||||
pack_data(zip_path)
|
||||
|
||||
subprocess.run(['hub', 'push'], check=True)
|
||||
|
||||
Reference in New Issue
Block a user