From 5387f3b11eeecc60f2d4fdafd189433b308447b1 Mon Sep 17 00:00:00 2001 From: mtkennerly Date: Wed, 12 Feb 2020 03:51:13 -0500 Subject: [PATCH] Release v0.5.0 --- CHANGELOG.md | 2 +- README.md | 4 ++-- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04d611d..7f7bb3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## Unreleased +## v0.5.0 (2020-02-12) * Added the `format-jinja` option. diff --git a/README.md b/README.md index adf0b98..42f0ac2 100644 --- a/README.md +++ b/README.md @@ -78,10 +78,10 @@ In your pyproject.toml file, you may configure the following options: * `{{ dirty }}` (boolean) * `{{ env }}` (dictionary of environment variables) - Example: `{% if distance == 0 %}v{{ base }}{% else %}v{{ base }}+{{ distance }}.{{ commit }}{% endif %}` + Example: `{% if distance == 0 %}{{ base }}{% else %}{{ base }}+{{ distance }}.{{ commit }}{% endif %}` * `style`: String. Default: unset. One of: `pep440`, `semver`, `pvp`. These are preconfigured output formats. If you set both a `style` and - `format`, then the format will be validated against the style's rules. + a `format`, then the format will be validated against the style's rules. If `style` is unset, the default output format will follow PEP 440, but a custom `format` will only be validated if `style` is set explicitly. * `latest-tag`: Boolean. Default: false. If true, then only check the latest diff --git a/pyproject.toml b/pyproject.toml index d48dbf0..75abc45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "poetry-dynamic-versioning" -version = "0.4.0" +version = "0.5.0" description = "Plugin for Poetry to enable dynamic versioning based on VCS tags" license = "MIT" authors = ["Matthew T. Kennerly "]