release.py: fix blog post name

This commit is contained in:
Gabor Kiss-Vamosi
2020-08-19 23:30:57 +02:00
parent 45cc51d48c
commit 809497f707

View File

@@ -271,7 +271,7 @@ def blog_add_post():
today = date.today()
d = today.strftime("%Y-%m-%d")
f = open(d + "_release_" + ver_str + ".md", "w")
f = open(d + "-release_" + ver_str + ".md", "w")
f.write(post)
f.close()
@@ -303,7 +303,6 @@ def publish_master():
cmd("cd lvgl; " + pub_cmd)
cmd("cd lv_examples; " + pub_cmd)
cmd("cd lv_drivers; " + pub_cmd)
cmd("cd blog; " + pub_cmd)
pub_cmd = "git push origin latest; git push origin " + ver_str
cmd("cd docs; " + pub_cmd)