Skip to content

Commit f603585

Browse files
committed
update bibxml-ids generation on draft submission.
- Legacy-Id: 19783
1 parent b7eec8a commit f603585

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ietf/submit/utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,9 @@ def post_submission(request, submission, approved_doc_desc, approved_subm_desc):
456456
ref_file_name = os.path.join(os.path.join(settings.BIBXML_BASE_PATH, 'bibxml-ids'), 'reference.I-D.%s.xml' % (draft.name[6:], ))
457457
with io.open(ref_file_name, "w", encoding='utf-8') as f:
458458
f.write(ref_text)
459+
ref_rev_file_name = os.path.join(os.path.join(settings.BIBXML_BASE_PATH, 'bibxml-ids'), 'reference.I-D.%s-%s.xml' % (draft.name[6:], draft.rev ))
460+
with io.open(ref_rev_file_name, "w", encoding='utf-8') as f:
461+
f.write(ref_text)
459462

460463
log.log(f"{submission.name}: done")
461464

0 commit comments

Comments
 (0)