publish eve_autoupdate.py
This commit is contained in:
parent
c29ccffdf9
commit
e34d6a1476
1 changed files with 0 additions and 5 deletions
|
|
@ -66,11 +66,6 @@ def main():
|
||||||
print(f"[autoupdate] new version {sha[:7]} published — updating...")
|
print(f"[autoupdate] new version {sha[:7]} published — updating...")
|
||||||
try:
|
try:
|
||||||
u.update_code() # git or zip
|
u.update_code() # git or zip
|
||||||
for hb in glob.glob(os.path.join(HERE, ".hb_*")): # re-announce after update
|
|
||||||
try:
|
|
||||||
os.remove(hb)
|
|
||||||
except Exception:
|
|
||||||
pass
|
|
||||||
u.restart_mining_watchers() # onto the new code
|
u.restart_mining_watchers() # onto the new code
|
||||||
write_marker(sha)
|
write_marker(sha)
|
||||||
print("[autoupdate] updated + restarted watchers.")
|
print("[autoupdate] updated + restarted watchers.")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue