Skip to content

Commit

Permalink
Updates release code
Browse files Browse the repository at this point in the history
  • Loading branch information
catusphan committed Dec 6, 2024
1 parent 438498e commit 2303868
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Report the results
run: |
ls -R -l $OUTPUT_DIR &&
python ./bin/dict_summary.py --dict-dir=$INPUT_DIR --output-dir=$OUTPUT_DIR
python ./bin/dict_summary.py --dict-dir=$INPUT_DIR
- name: Get Current Timestamp
id: timestamp
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_all_external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Report the results
run: |
ls -R -l $OUTPUT_DIR &&
python ./bin/dict_summary.py --dict-dir=$INPUT_DIR --output-dir=$OUTPUT_DIR
python ./bin/dict_summary.py --dict-dir=$INPUT_DIR
- name: Get Current Timestamp
id: timestamp
Expand Down
4 changes: 2 additions & 2 deletions bin/dict_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ def main():
markdown_table = generate_markdown_table(data, extensions, columns)

# Save the markdown table to a .md file
with open(os.path.join(args.dict_dir, outfile), 'w', encoding='utf-8') as file:
with open(os.path.join(dict_dir, outfile), 'w', encoding='utf-8') as file:
file.write(markdown_table)

print("Summary markdown file 'dict_summary.md' has been generated.")
print(f"Summary markdown file '{outfile}' has been generated.")

if __name__ == "__main__":
main()

0 comments on commit 2303868

Please sign in to comment.