facile_rs.prepare_release

Updates the CodeMeta file with the given version and date.

Useful to automatically get the version from a git tag and inject it into the repository’s metadata file. The current date is used if no date is provided.

Usage

usage: prepare_release.py [-h] --codemeta-location CODEMETA_LOCATION --version
                          VERSION [--date DATE] [--log-level LOG_LEVEL]
                          [--log-file LOG_FILE]

Named Arguments

--codemeta-location

Location of the main codemeta.json JSON file

--version

Version of the resource

--date

Date for dateModified (format: ‘%Y-%m-%d’)

--log-level

Log level (ERROR, WARN, INFO, or DEBUG)

Default: 'WARN'

--log-file

Path to the log file

Module Contents

Functions

create_parser

main

main_deprecated

API

create_parser(add_help=True)
main(args)
main_deprecated()