a20d10e3d5
This adds an optional date field to the prefix passed by automatic_version_prefix. An example of specifying the field is as follows: 10.<date:%Y> And the fields progress like: 10.2018.0 10.2018.1 10.2018.2 10.2019.0 The date format creates a new "current date" string using valid date directives passed into g_date_time_format(). If there is a problem reading the given date format, an error is given and the next version is returned as NULL. If no <date:...> tag is detected in the auto version prefix, the same behavior as before (appending .1 and incrementing) occurs. This may be helpful to avoid writing glue code to auto-update the version if a date string in the commit version is desired. Otherwise, --add-metadata-string=version= is an alternative for complete customization. Fixes: #1712 Closes: #1721 Approved by: jlebon |
||
---|---|---|
.. | ||
administrator-handbook.md | ||
background.md | ||
compose-server.md | ||
treefile.md |