Skip to content

Commit

Permalink
fix : version check script updated #177
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Aug 8, 2022
1 parent 0f3bb3f commit 4952eb0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion otherfile/version_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
"(u'FileVersion', u'{0}.{1}.{2}.{3}'),",
"(u'ProductVersion', u'{0}, {1}, {2}, {3}')"]
TEST_ITEMS = ["New Version ({0}) Is Available!"]

META_ITEMS = ['{% set version = "{0}" %}']

FILES = {
"setup.py": SETUP_ITEMS, "INSTALL.md": INSTALL_ITEMS, "CHANGELOG.md": CHANGELOG_ITEMS, os.path.join(
"Documents", "Amphlett.ipynb"): DOCUMENT_ITEMS, os.path.join(
Expand All @@ -46,7 +49,8 @@
"Documents", "Padulles2.ipynb"): DOCUMENT_ITEMS, os.path.join(
"otherfile", "test.html"): HTML_ITEMS, os.path.join(
"opem", "Params.py"): PARAMS_ITEMS, os.path.join(
"opem", "Test", "test_Functions.py"): TEST_ITEMS}
"opem", "Test", "test_Functions.py"): TEST_ITEMS,
os.path.join("otherfile", "meta.yaml"): META_ITEMS}

TEST_NUMBER = len(FILES.keys()) + 1

Expand Down

0 comments on commit 4952eb0

Please sign in to comment.