Setup local version caching
This commit is contained in:
parent
96148b809f
commit
11135ea128
2 changed files with 5 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
github-material-icons-chrome-extensio*
|
github-material-icons-chrome-extensio*
|
||||||
|
localVersionCache.py
|
3
main.py
3
main.py
|
@ -110,6 +110,9 @@ with open("github-material-icons-chrome-extension.xml", "w") as f:
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
with open("localVersionCache.py", "w") as f:
|
||||||
|
f.write(f'oldVer = "{version}"')
|
||||||
|
|
||||||
endTime = dt.now(tz.utc)
|
endTime = dt.now(tz.utc)
|
||||||
print(
|
print(
|
||||||
f"""[INFO] Script finished at {endTime.strftime('%Y-%m-%d %H:%M:%S.%f')}
|
f"""[INFO] Script finished at {endTime.strftime('%Y-%m-%d %H:%M:%S.%f')}
|
||||||
|
|
Loading…
Reference in a new issue