mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 14:02: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.package = package
|
||||
rel.name = title
|
||||
rel.title = title
|
||||
rel.url = ""
|
||||
rel.task_id = uuid()
|
||||
|
@ -429,7 +429,8 @@ def check_update_config_impl(package):
|
||||
if config.make_release:
|
||||
rel = PackageRelease()
|
||||
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.task_id = uuid()
|
||||
db.session.add(rel)
|
||||
|
Loading…
Reference in New Issue
Block a user