Looks up pre-existing version numbers of protocols in the main branch and calculates an incremented (next) version number for the currently checkout branch containing the created/in development/updated/ready to be released protocol. Your local main branch needs to up to date (aligned with remote) for this. If this is not the case, or other issues are detected regarding a non-clean local git repository - informative error messages will be given.
get_version_number(path = ".")
A string containing the next (incremented) version number
Other utility:
add_label()
,
get_path_to_protocol()
,
get_protocol_type()
,
get_protocolnumbers()
,
get_short_titles()
,
increment_version_number()