mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Fix missing name in release creation in two places
This commit is contained in:
parent
1fc7aeb1dd
commit
9a64ff7563
@ -118,6 +118,7 @@ def apply_all_updates(username):
|
|||||||
|
|
||||||
rel = PackageRelease()
|
rel = PackageRelease()
|
||||||
rel.package = package
|
rel.package = package
|
||||||
|
rel.name = title
|
||||||
rel.title = title
|
rel.title = title
|
||||||
rel.url = ""
|
rel.url = ""
|
||||||
rel.task_id = uuid()
|
rel.task_id = uuid()
|
||||||
|
@ -429,7 +429,8 @@ def check_update_config_impl(package):
|
|||||||
if config.make_release:
|
if config.make_release:
|
||||||
rel = PackageRelease()
|
rel = PackageRelease()
|
||||||
rel.package = package
|
rel.package = package
|
||||||
rel.title = tag if tag else datetime.datetime.utcnow().strftime("%Y-%m-%d")
|
rel.name = tag if tag else datetime.datetime.utcnow().strftime("%Y-%m-%d")
|
||||||
|
rel.title = rel.name
|
||||||
rel.url = ""
|
rel.url = ""
|
||||||
rel.task_id = uuid()
|
rel.task_id = uuid()
|
||||||
db.session.add(rel)
|
db.session.add(rel)
|
||||||
|
Loading…
Reference in New Issue
Block a user